X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetExprEditor.h;h=bbd84a89f2f415cfb71405e23b2b24cf8d6ea184;hb=eef14b29d313b9dd16453d12f20aa02383ee139c;hp=b7af4cfb557921d7da86b7bf1c673ee957f1fe77;hpb=f4f5e51326a1846df7684d7fbf5b8315b12a29de;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetExprEditor.h b/src/ModuleBase/ModuleBase_WidgetExprEditor.h index b7af4cfb5..bbd84a89f 100644 --- a/src/ModuleBase/ModuleBase_WidgetExprEditor.h +++ b/src/ModuleBase/ModuleBase_WidgetExprEditor.h @@ -62,8 +62,9 @@ signals: void valueModified(); /// The signal about key release on the control, that corresponds to the attribute + /// \param theObject a sender of the event /// \param theEvent key release event - void keyReleased(QKeyEvent* theEvent); + void keyReleased(QObject* theObject, QKeyEvent* theEvent); protected: /// Perform completion by prefix @@ -107,6 +108,9 @@ class MODULEBASE_EXPORT ModuleBase_WidgetExprEditor : public ModuleBase_ModelWid const std::string& thePlaceHolder ); virtual ~ModuleBase_WidgetExprEditor(); + /// The methiod called when widget is activated + virtual void activateCustom(); + /// Redefinition of virtual method virtual QList getControls() const;