Add ReadOnly ThresholdWidget to MussaAlignedWindow
[mussa.git] / qui / ThresholdWidget.cpp
index c1ca76c2ffae3474bbdf5666c8a7eccda372ea5f..fc2444e5f2f3f3d8ba31d64d588957d9da0e53cb 100644 (file)
@@ -43,6 +43,16 @@ void ThresholdWidget::setRange(int min, int max)
   updatePercentThreshold();
 }
 
+bool ThresholdWidget::isReadOnly() const
+{
+  return basepair_spinner->isReadOnly();
+}
+
+void ThresholdWidget::setReadOnly(bool read_only)
+{
+  basepair_spinner->setReadOnly(read_only);
+}
+
 double ThresholdWidget::min_ratio() const
 {
   double ratio=((double)basepair_spinner->minimum()/