X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetIntValue.h;h=255e716035b009b31f9403eb45e8371320dbff52;hb=7cb6ac084270943d926ec7ef35bf9e63d6a3eaf5;hp=b795bc1c8122b6bfaefa123e32eb2871323551f5;hpb=05051c9ff89db0e367db29f630338cc0cc404e41;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetIntValue.h b/src/ModuleBase/ModuleBase_WidgetIntValue.h index b795bc1c8..255e71603 100644 --- a/src/ModuleBase/ModuleBase_WidgetIntValue.h +++ b/src/ModuleBase/ModuleBase_WidgetIntValue.h @@ -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;