X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetLabel.h;h=9fb8ddd76f2caad71ddfa3e8308ebf3d3eccb630;hb=061a63480f6840b6d945f7744b3b972e2d4cb25d;hp=0f6e00baccfc3b67e57098c6a59a7bd5a49b69e8;hpb=0a76161addf39a6d03b90308eb99abc3a8d10e74;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetLabel.h b/src/ModuleBase/ModuleBase_WidgetLabel.h index 0f6e00bac..9fb8ddd76 100644 --- a/src/ModuleBase/ModuleBase_WidgetLabel.h +++ b/src/ModuleBase/ModuleBase_WidgetLabel.h @@ -33,15 +33,13 @@ Q_OBJECT /// It returns false because this is an info widget virtual bool canSetValue() const { return false; }; - virtual bool restoreValue() + virtual bool restoreValueCustom() { return true; } virtual QList getControls() const; - QWidget* getControl() const; - /// This control doesn't accept focus virtual bool focusTo() { return false; } @@ -53,9 +51,8 @@ protected: return true; } -private: /// A label control QLabel* myLabel; }; -#endif \ No newline at end of file +#endif