public:
ThresholdWidget(QWidget *parent = 0, int min=20, int max=30);
+
+ //! is the widget in read only mode
+ bool isReadOnly() const;
+ //! set the widget to specified read only state
+ void setReadOnly(bool);
//! return min_threshold/max_threshold
double min_ratio() const;