X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Dialog.h;fp=src%2FModuleBase%2FModuleBase_Dialog.h;h=46f0e7068b12aa2e0c4649a341b15813f8e707e3;hb=44b3aa1055279520a1b3d7a6a77f90bf8db5d087;hp=7ef0b6e6bb36e953d636286eba7c0b767930c3d9;hpb=6e5cc7d936a40ae7f2239d7621a4e889c3a9f440;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Dialog.h b/src/ModuleBase/ModuleBase_Dialog.h index 7ef0b6e6b..46f0e7068 100644 --- a/src/ModuleBase/ModuleBase_Dialog.h +++ b/src/ModuleBase/ModuleBase_Dialog.h @@ -44,8 +44,7 @@ public: /// \param theParent a workshop object instance /// \param theId an Id of a feature /// \param theDescription an XML description of the feature - ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const QString& theId, - const std::string& theDescription); + ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const std::string& theDescription); /// Redefinition of virtual method virtual void accept(); @@ -54,12 +53,15 @@ protected: /// Redefinition of virtual method virtual void showEvent(QShowEvent* theEvent); +private slots: + void onHelpRequest(); + private: /// Initialising of the widget void initializeWidget(ModuleBase_ModelWidget* theWidget); /// Id of the feature - QString myId; + std::string myId; /// XML description of the feature std::string myDescription; @@ -78,6 +80,8 @@ private: /// Buttons of the dialog QDialogButtonBox* myButtonsBox; + + std::string myHelpPage; }; #endif