Salome HOME
Reset value state is provided in ModelWidget to remove 'myIsResetCurrentValue' in...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetDoubleValue.h
index 04e871795260e6c9c5dab877b02d7865be570405..ec3daae2c4e625fc8d878a2a318d41d2ed0ab4e7 100644 (file)
@@ -37,9 +37,6 @@ Q_OBJECT
 
   virtual ~ModuleBase_WidgetDoubleValue();
 
-  /// Fills the widget with default values
-  virtual bool reset();
-
   /// Returns list of widget controls
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
@@ -61,6 +58,10 @@ protected:
   // \return True in success
   virtual bool restoreValueCustom();
 
+  /// Fills the widget with default values
+  /// \return true if the widget current value is reset
+  virtual bool resetCustom();
+
 protected:
   /// Label of the widget
   QLabel* myLabel;