X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetLabel.h;h=62fb2d2e82d57eb3b292f4318d8efa2536e03280;hb=c93898acb58bc77dbfef4f5cba260885d31379fe;hp=8d7d4281f9e490cadf1808040be4ad266d3480c5;hpb=83b022b15cfd77512967f4328484371e46c525ae;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetLabel.h b/src/ModuleBase/ModuleBase_WidgetLabel.h index 8d7d4281f..62fb2d2e8 100644 --- a/src/ModuleBase/ModuleBase_WidgetLabel.h +++ b/src/ModuleBase/ModuleBase_WidgetLabel.h @@ -33,11 +33,6 @@ Q_OBJECT /// It returns false because this is an info widget virtual bool canSetValue() const { return false; }; - virtual bool storeValue() const - { - return true; - } - virtual bool restoreValue() { return true; @@ -45,14 +40,20 @@ Q_OBJECT virtual QList getControls() const; - QWidget* getControl() const; - /// This control doesn't accept focus virtual bool focusTo() { return false; } +protected: + /// Saves the internal parameters to the given feature + /// \return True in success + virtual bool storeValueCustom() const + { + return true; + } + private: /// A label control QLabel* myLabel; }; -#endif \ No newline at end of file +#endif