- void Init (bool ResetControls = true);
- void closeEvent (QCloseEvent*);
- void enterEvent (QEvent*); /* mouse enter the QWidget */
- void hideEvent (QHideEvent*); /* ESC key */
- void keyPressEvent(QKeyEvent*);
- int GetConstructorId();
- bool IsAxisOk();
-
- SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
- LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
- int myNbOkElements; /* to check when elements are defined */
- QString myElementsId;
- QWidget* myEditCurrentArgument; /* Current argument */
- SVTK_Selector* mySelector;
-
- bool myBusy;
- SMESH::SMESH_Mesh_var myMesh;
- SMESH_Actor* myActor;
- SMESH_LogicalFilter* myMeshOrSubMeshOrGroupFilter;
-
- QButtonGroup* GroupConstructors;
- QRadioButton* RadioButton1;
- QRadioButton* RadioButton2;
- QGroupBox* GroupButtons;
- QPushButton* buttonOk;
- QPushButton* buttonCancel;
- QPushButton* buttonApply;
- QPushButton* buttonHelp;
- QGroupBox* GroupArguments;
- QGroupBox* GroupAxis;
- QLabel* TextLabelElements;
- QPushButton* SelectElementsButton;
- QLineEdit* LineEditElements;
- QCheckBox* CheckBoxMesh;
- QCheckBox* MakeGroupsCheck;
-
- QLabel* TextLabelPoint;
- QPushButton* SelectPointButton;
- QLabel* TextLabelX;
- SMESHGUI_SpinBox* SpinBox_X;
- QLabel* TextLabelY;
- SMESHGUI_SpinBox* SpinBox_Y;
- QLabel* TextLabelZ;
- SMESHGUI_SpinBox* SpinBox_Z;
- QLabel* TextLabelVector;
- QPushButton* SelectVectorButton;
- QLabel* TextLabelDX;
- SMESHGUI_SpinBox* SpinBox_DX;
- QLabel* TextLabelDY;
- SMESHGUI_SpinBox* SpinBox_DY;
- QLabel* TextLabelDZ;
- SMESHGUI_SpinBox* SpinBox_DZ;
-
- QLabel* TextLabelAngle;
- SMESHGUI_SpinBox* SpinBox_Angle;
- QLabel* TextLabelNbSteps;
- QSpinBox* SpinBox_NbSteps;
- QLabel* TextLabelTolerance;
- SMESHGUI_SpinBox* SpinBox_Tolerance;
-
- QString myHelpFileName;
-
+ void Init( bool = true);
+ void closeEvent( QCloseEvent* );
+ void enterEvent( QEvent* ); /* mouse enter the QWidget */
+ void hideEvent( QHideEvent* ); /* ESC key */
+ void keyPressEvent( QKeyEvent* );
+ int GetConstructorId();
+ bool IsAxisOk();
+
+ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
+ SMESHGUI_IdValidator* myIdValidator;
+ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
+ int myNbOkElements; /* to check when elements are defined */
+ QString myElementsId;
+ QWidget* myEditCurrentArgument; /* Current argument */
+ SVTK_Selector* mySelector;
+
+ bool myBusy;
+ SMESH::SMESH_Mesh_var myMesh;
+ SMESH_Actor* myActor;
+ SMESH_LogicalFilter* myMeshOrSubMeshOrGroupFilter;
+ SMESHGUI_MeshEditPreview* mySimulation;
+ SALOME_Actor* myPreviewActor;
+
+ QGroupBox* ConstructorsBox;
+ QButtonGroup* GroupConstructors;
+ QRadioButton* RadioButton1;
+ QRadioButton* RadioButton2;
+ QGroupBox* GroupButtons;
+ QPushButton* buttonOk;
+ QPushButton* buttonCancel;
+ QPushButton* buttonApply;
+ QPushButton* buttonHelp;
+ QGroupBox* GroupArguments;
+ QGroupBox* GroupAxis;
+ QLabel* TextLabelElements;
+ QPushButton* SelectElementsButton;
+ QLineEdit* LineEditElements;
+ QCheckBox* CheckBoxMesh;
+ QCheckBox* MakeGroupsCheck;
+ QGroupBox* GroupAngleBox;
+ QButtonGroup* GroupAngle;
+ QRadioButton* RadioButton3;
+ QRadioButton* RadioButton4;
+ QCheckBox* CheckBoxPreview;
+
+ QLabel* TextLabelPoint;
+ QPushButton* SelectPointButton;
+ QLabel* TextLabelX;
+ SMESHGUI_SpinBox* SpinBox_X;
+ QLabel* TextLabelY;
+ SMESHGUI_SpinBox* SpinBox_Y;
+ QLabel* TextLabelZ;
+ SMESHGUI_SpinBox* SpinBox_Z;
+ QLabel* TextLabelVector;
+ QPushButton* SelectVectorButton;
+ QLabel* TextLabelDX;
+ SMESHGUI_SpinBox* SpinBox_DX;
+ QLabel* TextLabelDY;
+ SMESHGUI_SpinBox* SpinBox_DY;
+ QLabel* TextLabelDZ;
+ SMESHGUI_SpinBox* SpinBox_DZ;
+
+ QLabel* TextLabelAngle;
+ SMESHGUI_SpinBox* SpinBox_Angle;
+ QLabel* TextLabelNbSteps;
+ QSpinBox* SpinBox_NbSteps;
+ QLabel* TextLabelTolerance;
+ SMESHGUI_SpinBox* SpinBox_Tolerance;
+
+ QString myHelpFileName;
+