- void Init( bool ResetControls = true ) ;
- void closeEvent( QCloseEvent* e ) ;
- void enterEvent ( QEvent * ) ; /* mouse enter the QWidget */
- void hideEvent ( QHideEvent * ); /* ESC key */
- int GetConstructorId();
-
- SMESHGUI* mySMESHGUI ; /* Current SMESHGUI object */
- SALOME_Selection* mySelection ; /* User shape selection */
- QString myElementsId;
- int myNbOkElements ; /* to check when elements are defined */
-
- QWidget* myEditCurrentArgument;
-
- bool myBusy;
- SMESH::SMESH_Mesh_var myMesh;
- SMESH_Actor* myActor;
- Handle(SMESH_LogicalFilter) myMeshOrSubMeshOrGroupFilter;
-
- QButtonGroup* GroupConstructors;
- QRadioButton* RadioButton1;
- QRadioButton* RadioButton2;
- QGroupBox* GroupButtons;
- QPushButton* buttonOk;
- QPushButton* buttonCancel;
- QPushButton* buttonApply;
- QGroupBox* GroupArguments;
- QLabel* TextLabelElements;
- QPushButton* SelectElementsButton;
- QLineEdit* LineEditElements;
- QCheckBox* CheckBoxMesh;
- QLabel* TextLabel1;
- QPushButton* SelectButton1;
- QLabel* TextLabel1_1;
- SMESHGUI_SpinBox* SpinBox1_1;
- QLabel* TextLabel1_2;
- SMESHGUI_SpinBox* SpinBox1_2;
- QLabel* TextLabel1_3;
- SMESHGUI_SpinBox* SpinBox1_3;
- QLabel* TextLabel2;
- QPushButton* SelectButton2;
- QLabel* TextLabel2_1;
- SMESHGUI_SpinBox* SpinBox2_1;
- QLabel* TextLabel2_2;
- SMESHGUI_SpinBox* SpinBox2_2;
- QLabel* TextLabel2_3;
- SMESHGUI_SpinBox* SpinBox2_3;
- QCheckBox* CheckBoxCopy;
+ bool isValid();
+
+ SMESHGUI_IdValidator* myIdValidator;
+ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
+ QString myElementsId;
+ int myNbOkElements; /* to check when elements are defined */
+
+ SVTK_Selector* mySelector;
+
+ QWidget* myEditCurrentArgument;
+
+ bool myBusy;
+ SMESH_Actor* myActor;
+ SMESH_LogicalFilter* myMeshOrSubMeshOrGroupFilter;
+
+ QList<SMESH::SMESH_Mesh_var> myMeshes;
+ QList<SMESH::SMESH_IDSource_var> myObjects;
+ QList<QString> myObjectsNames;
+
+ QGroupBox* ConstructorsBox;
+ QButtonGroup* GroupConstructors;
+ QRadioButton* RadioButton1;
+ QRadioButton* RadioButton2;
+ QGroupBox* GroupButtons;
+ QPushButton* buttonOk;
+ QPushButton* buttonCancel;
+ QPushButton* buttonApply;
+ QPushButton* buttonHelp;
+ QGroupBox* GroupArguments;
+ QLabel* TextLabelElements;
+ QPushButton* SelectElementsButton;
+ QLineEdit* LineEditElements;
+ QCheckBox* CheckBoxMesh;
+ QLabel* TextLabel1;
+ QPushButton* SelectButton1;
+ QLabel* TextLabel1_1;
+ SMESHGUI_SpinBox* SpinBox1_1;
+ QLabel* TextLabel1_2;
+ SMESHGUI_SpinBox* SpinBox1_2;
+ QLabel* TextLabel1_3;
+ SMESHGUI_SpinBox* SpinBox1_3;
+ QLabel* TextLabel2;
+ QPushButton* SelectButton2;
+ QLabel* TextLabel2_1;
+ SMESHGUI_SpinBox* SpinBox2_1;
+ QLabel* TextLabel2_2;
+ SMESHGUI_SpinBox* SpinBox2_2;
+ QLabel* TextLabel2_3;
+ SMESHGUI_SpinBox* SpinBox2_3;
+ //QCheckBox* CheckBoxCopy;
+ QGroupBox* ActionBox;
+ QButtonGroup* ActionGroup;
+ QCheckBox* MakeGroupsCheck;
+ QLineEdit* LineEditNewMesh;
+
+ QString myHelpFileName;
+
+ QPushButton* myFilterBtn;
+ SMESHGUI_FilterDlg* myFilterDlg;
+
+protected slots:
+ virtual void onDisplaySimulation( bool );
+ virtual void reject();