X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetExprEditor.h;h=ef04f238603f630a194ba093bfc0486e43590934;hb=9aeb69897970e21212d6f8926ec33d2eb696f18d;hp=b7af4cfb557921d7da86b7bf1c673ee957f1fe77;hpb=f4f5e51326a1846df7684d7fbf5b8315b12a29de;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetExprEditor.h b/src/ModuleBase/ModuleBase_WidgetExprEditor.h index b7af4cfb5..ef04f2386 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 @@ -103,10 +104,12 @@ class MODULEBASE_EXPORT ModuleBase_WidgetExprEditor : public ModuleBase_ModelWid /// \param thePlaceHolder a placeholder string ModuleBase_WidgetExprEditor( QWidget* theParent, const Config_WidgetAPI* theData, - const std::string& theParentId, 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; @@ -123,7 +126,7 @@ protected: /// Saves the internal parameters to the given feature /// \return True in success - virtual bool storeValueCustom() const; + virtual bool storeValueCustom(); /// Redefinition of virtual method virtual bool restoreValueCustom();