]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetIntValue.h
Salome HOME
Reset value state is provided in ModelWidget to remove 'myIsResetCurrentValue' in...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetIntValue.h
index 255e716035b009b31f9403eb45e8371320dbff52..8fd1ef5d8ff01d2e35b8778a49e908a9292ec24a 100644 (file)
@@ -37,14 +37,10 @@ Q_OBJECT
 
   virtual ~ModuleBase_WidgetIntValue();
 
-  /// Fills the widget with default values
-  virtual bool reset();
-
   /// Returns list of widget controls
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
 
-
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
@@ -54,6 +50,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;