Use pointers in ThresholdWidget
[mussa.git] / qui / ThresholdWidget.hpp
index 61d890042dc213f7d4694791d27e7ffdc9c4038d..319175a985f91527af48563c0e53be8aa55ef594 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _THRESHOLD_WIDGET_H_ 
 #define _THRESHOLD_WIDGET_H_
 
+#include <QHBoxLayout>
 #include <QLabel>
 #include <QSpinBox>
 #include <QWidget>
@@ -32,9 +33,10 @@ signals:
   void thresholdChanged(int new_threshold);
 
 protected:
-  QSpinBox basepair_spinner;
-  QLabel window_size_label;
-  QLabel percent_label;
+  QHBoxLayout *layout;
+  QSpinBox *basepair_spinner;
+  QLabel *window_size_label;
+  QLabel *percent_label;
 
   int cur_bp_threshold;
   int cur_percent_threshold;