X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ExtrusionDlg.h;h=d1fe0f2b7e3c0d3a0983f635d2dabf0fe5d285ef;hp=cebdaefb78232321cd01d818f8b733df4e35c146;hb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;hpb=b33324fe602b1fe1158c14a866c3802df12370fa diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h index cebdaefb7..d1fe0f2b7 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -29,7 +29,9 @@ #ifndef DIALOGBOX_EXTRUSION_H #define DIALOGBOX_EXTRUSION_H -#include "SalomeApp_SelectionMgr.h" +#include "SMESH_SMESHGUI.hxx" + +#include "LightApp_SelectionMgr.h" #include "SUIT_SelectionFilter.h" // QT Includes @@ -59,7 +61,7 @@ class SVTK_Selector; // class : SMESHGUI_ExtrusionDlg // purpose : //================================================================================= -class SMESHGUI_ExtrusionDlg : public QDialog +class SMESHGUI_EXPORT SMESHGUI_ExtrusionDlg : public QDialog { Q_OBJECT @@ -71,12 +73,13 @@ public: private: void Init (bool ResetControls = true); void enterEvent (QEvent*); /* mouse enter the QWidget */ + void keyPressEvent(QKeyEvent*); int GetConstructorId(); //void closeEvent (QCloseEvent*); //void hideEvent (QHideEvent*); /* ESC key */ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */ - SalomeApp_SelectionMgr* mySelectionMgr; /* User shape selection */ + LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */ QLineEdit* myEditCurrentArgument; /* Current LineEdit */ QString myElementsId; int myNbOkElements; /* to check when elements are defined */ @@ -111,12 +114,17 @@ private: QPushButton* buttonOk; QPushButton* buttonCancel; QPushButton* buttonApply; + QPushButton* buttonHelp; + + QString myHelpFileName; private slots: void ConstructorsClicked (int); + void CheckIsEnable(); void ClickOnOk(); bool ClickOnApply(); void ClickOnCancel(); + void ClickOnHelp(); void SetEditCurrentArgument(); void SelectionIntoArgument(); void DeactivateActiveDialog();