- void Init ();
- void closeEvent (QCloseEvent*);
- void hideEvent (QHideEvent*); /* ESC key */
- void enterEvent (QEvent*); /* mouse enter the QWidget */
- void displaySimulation();
-
- SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
- LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
- int myNbOkNodes; /* to check when arguments is defined */
- bool myBusy;
- SVTK_Selector* mySelector;
-
- QLineEdit* myEditCurrentArgument; /* Current LineEdit */
-
- int myElementType;
- int myNbNodes;
- bool myIsPoly;
-
- SMESH::SMESH_Mesh_var myMesh;
- SMESH_Actor* myActor;
- SMESH::TElementSimulation* mySimulation;
-
- QButtonGroup* GroupConstructors;
- QRadioButton* Constructor1;
- QGroupBox * GroupButtons;
- QPushButton * buttonOk;
- QPushButton * buttonCancel;
- QPushButton * buttonApply;
- QPushButton * buttonHelp;
- QGroupBox * GroupC1;
- QLabel * TextLabelC1A1;
- QPushButton * SelectButtonC1A1;
- QLineEdit * LineEditC1A1;
-
- QCheckBox * Reverse;
-
- QString myHelpFileName;
+ void Init();
+ void enterEvent( QEvent* ); /* mouse enter the QWidget */
+ void keyPressEvent( QKeyEvent* );
+ void displaySimulation();
+
+ bool isValid();
+
+ typedef QList<SMESH::SMESH_GroupBase_var> GrpList;
+
+ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
+ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
+ int myNbOkNodes; /* to check when arguments is defined */
+ bool myBusy;
+ SVTK_Selector* mySelector;
+
+ QLineEdit* myEditCurrentArgument; /* Current LineEdit */
+
+ SMDSAbs_EntityType myGeomType;
+ int myElementType;
+ int myNbNodes;
+ bool myIsPoly;
+
+ SMESH::SMESH_Mesh_var myMesh;
+ SMESH_Actor* myActor;
+ SMESH::TElementSimulation* mySimulation;
+ QString myEntry;
+ GrpList myGroups;
+
+ QGroupBox* GroupConstructors;
+ QRadioButton* Constructor1;
+ QGroupBox* GroupGroups;
+ QLabel* TextLabel_GroupName;
+ QComboBox* ComboBox_GroupName;
+ QGroupBox* GroupButtons;
+ QPushButton* buttonOk;
+ QPushButton* buttonCancel;
+ QPushButton* buttonApply;
+ QPushButton* buttonHelp;
+ QGroupBox* GroupC1;
+ QLabel* TextLabelC1A1;
+ QPushButton* SelectButtonC1A1;
+ QLineEdit* LineEditC1A1;
+ QCheckBox* ReverseOrDulicate;
+ SMESHGUI_SpinBox* DiameterSpinBox;
+
+ QString myHelpFileName;
+
+protected slots:
+ virtual void reject();
+ void onDiameterChanged();