-
- SalomeApp_SelectionMgr* mySelectionMgr;
- SMESHGUI* myMeshGUI;
-
- SMESH::SMESH_Mesh_var myMesh;
- SMESH::TNodeSimulation* mySimulation;
-
- void Init (SalomeApp_SelectionMgr*);
- void enterEvent(QEvent* e);
- void closeEvent(QCloseEvent*);
- void hideEvent (QHideEvent *); /* ESC key */
-
- QButtonGroup* GroupConstructors;
- QRadioButton* Constructor1;
- QGroupBox* GroupCoordinates;
- SMESHGUI_SpinBox* SpinBox_X;
- SMESHGUI_SpinBox* SpinBox_Y;
- SMESHGUI_SpinBox* SpinBox_Z;
-
- QLabel* TextLabel_X;
- QLabel* TextLabel_Y;
- QLabel* TextLabel_Z;
-
- QGroupBox* GroupButtons;
- QPushButton* buttonApply;
- QPushButton* buttonOk;
- QPushButton* buttonCancel;
+ typedef QList<SMESH::SMESH_GroupBase_var> GrpList;
+
+ LightApp_SelectionMgr* mySelectionMgr;
+ SVTK_Selector* mySelector;
+ SMESHGUI* mySMESHGUI;
+
+ SMESH::SMESH_Mesh_var myMesh;
+ SMESH::TNodeSimulation* mySimulation;
+ QString myEntry;
+ GrpList myGroups;
+
+ void Init();
+ void enterEvent( QEvent* );
+ void closeEvent( QCloseEvent* );
+ void hideEvent ( QHideEvent* );
+ void keyPressEvent( QKeyEvent* );
+
+ bool isValid();
+
+ QGroupBox* GroupConstructors;
+ QRadioButton* Constructor1;
+ QGroupBox* GroupCoordinates;
+ SMESHGUI_SpinBox* SpinBox_X;
+ SMESHGUI_SpinBox* SpinBox_Y;
+ SMESHGUI_SpinBox* SpinBox_Z;
+
+ QLabel* TextLabel_X;
+ QLabel* TextLabel_Y;
+ QLabel* TextLabel_Z;
+
+ QGroupBox* GroupGroups;
+ QLabel* TextLabel_GroupName;
+ QComboBox* ComboBox_GroupName;
+
+ QGroupBox* GroupButtons;
+ QPushButton* buttonApply;
+ QPushButton* buttonOk;
+ QPushButton* buttonCancel;
+ QPushButton* buttonHelp;
+
+ QString myHelpFileName;