X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ExtrusionDlg.h;h=9a9c21e7aa4bc392ad1807d3930e41f7414d88b7;hb=85b1cfc1f07d0b93d88803c6c0ccadf8f3349719;hp=55b7d2bf78cbd8ac7e1ab6bead9688d06b69e821;hpb=c63ee099ad2b149bd70136839c973e8910137bc5;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h index 55b7d2bf7..9a9c21e7a 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.h @@ -29,8 +29,11 @@ #ifndef DIALOGBOX_EXTRUSION_H #define DIALOGBOX_EXTRUSION_H +#include "SMESH_SMESHGUI.hxx" + #include "LightApp_SelectionMgr.h" #include "SUIT_SelectionFilter.h" +#include "Handle_SALOME_InteractiveObject.hxx" // QT Includes #include @@ -59,7 +62,7 @@ class SVTK_Selector; // class : SMESHGUI_ExtrusionDlg // purpose : //================================================================================= -class SMESHGUI_ExtrusionDlg : public QDialog +class SMESHGUI_EXPORT SMESHGUI_ExtrusionDlg : public QDialog { Q_OBJECT @@ -71,6 +74,7 @@ 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 */ @@ -78,13 +82,15 @@ private: SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */ QLineEdit* myEditCurrentArgument; /* Current LineEdit */ - QString myElementsId; + //QString myElementsId; int myNbOkElements; /* to check when elements are defined */ SVTK_Selector* mySelector; bool myBusy; SMESH::SMESH_Mesh_var myMesh; + SMESH::long_array_var myElementsId; SMESH_Actor* myActor; + Handle(SALOME_InteractiveObject) myIO; SUIT_SelectionFilter* myMeshOrSubMeshOrGroupFilter; // widgets @@ -106,6 +112,7 @@ private: SMESHGUI_SpinBox* SpinBox_Dz; QLabel* TextLabelNbSteps; QSpinBox* SpinBox_NbSteps; + QCheckBox* MakeGroupsCheck; QGroupBox* GroupButtons; QPushButton* buttonOk;