Add ReadOnly ThresholdWidget to MussaAlignedWindow
[mussa.git] / qui / ThresholdWidget.hpp
index 319175a985f91527af48563c0e53be8aa55ef594..e83c815695cec7089996a0a2e82dde552b4cbdac 100644 (file)
@@ -12,6 +12,11 @@ class ThresholdWidget : public QWidget
 
 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;