+
+
+bool ModuleBase_WidgetErrorLabel::focusTo()
+{
+ restoreValue();
+ return false;
+}
+
+bool ModuleBase_WidgetErrorLabel::eventFilter(QObject* theObj, QEvent* theEvent)
+{
+ if (theObj == myLabel) {
+ if (theEvent->type() == QEvent::Show)
+ restoreValue();
+ }
+ return ModuleBase_WidgetLabel::eventFilter(theObj, theEvent);
+}