X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetErrorLabel.h;h=f173509016152d6b4a03bba66207e5148f2fc8d0;hb=ed4a3feb663344c4a785133c5f025a2687192c6d;hp=882fe13dd79f348b9fc00dac316d392b57fcac8a;hpb=f724fd995b85913652a78c734e46b5d34de7e805;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetErrorLabel.h b/src/ModuleBase/ModuleBase_WidgetErrorLabel.h index 882fe13dd..f17350901 100644 --- a/src/ModuleBase/ModuleBase_WidgetErrorLabel.h +++ b/src/ModuleBase/ModuleBase_WidgetErrorLabel.h @@ -25,12 +25,17 @@ Q_OBJECT /// \param theData the widget configuation. The attribute of the model widget is obtained from /// \param theParentId is Id of a parent of the current attribute ModuleBase_WidgetErrorLabel(QWidget* theParent, const Config_WidgetAPI* theData, - const std::string& theParentId); + const std::string & theParentId); virtual ~ModuleBase_WidgetErrorLabel(); virtual bool restoreValueCustom(); + virtual bool focusTo(); + +protected: + bool eventFilter(QObject* theObj, QEvent* theEvent); + private: QString myDefaultStyle; };