- void Init ();
- void closeEvent (QCloseEvent*);
- void hideEvent (QHideEvent*); /* ESC key */
- void enterEvent (QEvent*); /* mouse enter the QWidget */
- void displaySimulation();
- void UpdateTable( bool theConersValidity = true );
- bool IsValid();
-
- SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
- LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
- int myNbCorners; /* The required number of corners */
- bool myBusy;
- SVTK_Selector* mySelector;
-
- SMESH::SMESH_Mesh_var myMesh;
- SMESH_Actor* myActor;
- SMESH::TElementSimulation* mySimulation;
-
- int myType;
- bool myIsEditCorners;
-
- QButtonGroup* GroupConstructors;
- QRadioButton* myRadioButton1;
-
- QGroupBox* GroupArguments;
- QLineEdit* myCornerNodes;
- QPushButton* mySelectButton;
- QTable* myTable;
- QCheckBox* myReverseCB;
-
- QGroupBox* GroupButtons;
- QPushButton* buttonOk;
- QPushButton* buttonCancel;
- QPushButton* buttonApply;
- QPushButton * buttonHelp;
-
- QString myHelpFileName;
-
-private slots:
+ void Init();
+ void closeEvent( QCloseEvent* );
+ void hideEvent( QHideEvent* ); /* ESC key */
+ void enterEvent( QEvent* ); /* mouse enter the QWidget */
+ void keyPressEvent( QKeyEvent* );
+ void displaySimulation();
+ void UpdateTable( bool = true );
+ bool IsValid();
+ void updateButtons();
+
+ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
+ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
+ int myNbCorners; /* The required number of corners */
+ bool myBusy;
+ SVTK_Selector* mySelector;