X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetLineEdit.h;h=1f5f3fd71160ec93d574907c27e0ad09d32284ae;hb=aebde79eb2410f5e7699ee44254173b442727df7;hp=067185cdd2ee565a70355eb7698a403237150ba9;hpb=7b9e257dacdb4564754c3bcd0c35817e73a3989c;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetLineEdit.h b/src/ModuleBase/ModuleBase_WidgetLineEdit.h index 067185cdd..1f5f3fd71 100644 --- a/src/ModuleBase/ModuleBase_WidgetLineEdit.h +++ b/src/ModuleBase/ModuleBase_WidgetLineEdit.h @@ -33,13 +33,14 @@ class MODULEBASE_EXPORT ModuleBase_WidgetLineEdit : public ModuleBase_ModelWidge /// \param theParent the parent object /// \param theData the widget configuration. /// \param theParentId is Id of a parent of the current attribute - ModuleBase_WidgetLineEdit(QWidget* theParent, - const Config_WidgetAPI* theData, - const std::string& theParentId); + /// \param thePlaceHolder a string of placeholder + ModuleBase_WidgetLineEdit( QWidget* theParent, + const Config_WidgetAPI* theData, + const std::string& theParentId, + const std::string& thePlaceHolder ); virtual ~ModuleBase_WidgetLineEdit(); - virtual bool restoreValue(); - + /// Redefinition of virtual method virtual QList getControls() const; public slots: @@ -51,6 +52,9 @@ protected: /// \return True in success virtual bool storeValueCustom() const; + /// Redefinition of virtual method + virtual bool restoreValueCustom(); + private: /// A line edit control QLineEdit* myLineEdit;