1 #ifndef _THRESHOLD_WIDGET_H_
2 #define _THRESHOLD_WIDGET_H_
7 class ThresholdWidget : public QWidget
12 ThresholdWidget(QWidget *parent = 0, int min=21, int max=30);
14 //! return what percent of our maximum threshold we are.
15 float percent() const;
16 //! return our current threshold
17 int threshold() const;
20 void setThreshold(int threshold);
21 void setRange(int min, int max);
24 void thresholdChanged(int new_threshold);
27 QSpinBox basepair_spinner;
30 const int threshold_max_display_digits = 2;