Salome HOME
Optimize the flushing: this improvement speed ups the unit test for 3-4 times
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetIntValue.h
index b795bc1c8122b6bfaefa123e32eb2871323551f5..255e716035b009b31f9403eb45e8371320dbff52 100644 (file)
@@ -38,11 +38,7 @@ Q_OBJECT
   virtual ~ModuleBase_WidgetIntValue();
 
   /// Fills the widget with default values
-  virtual void reset();
-
-  //! Read value of corresponded attribute from data model to the input control
-  // \return True in success
-  virtual bool restoreValue();
+  virtual bool reset();
 
   /// Returns list of widget controls
   /// \return a control list
@@ -54,6 +50,10 @@ protected:
   /// \return True in success
   virtual bool storeValueCustom() const;
 
+  //! Read value of corresponded attribute from data model to the input control
+  // \return True in success
+  virtual bool restoreValueCustom();
+
 protected:
   /// Label of the widget
   QLabel* myLabel;