Salome HOME
#1136 - hidden axis are selected in sketch
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetErrorLabel.h
index 882fe13dd79f348b9fc00dac316d392b57fcac8a..f173509016152d6b4a03bba66207e5148f2fc8d0 100644 (file)
@@ -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;
 };