X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_RevolutionDlg.h;h=6b55513e33ced31f2ed52f8d5e98292953cd058c;hb=5ce23baf3aaec1507f239da8595afa38c7842836;hp=1771d83c9d657c153b849701815b514ed0b38f42;hpb=0febe018bcde111dc7aca1f3e44d4aa2995b59a2;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_RevolutionDlg.h b/src/SMESHGUI/SMESHGUI_RevolutionDlg.h index 1771d83c9..6b55513e3 100644 --- a/src/SMESHGUI/SMESHGUI_RevolutionDlg.h +++ b/src/SMESHGUI/SMESHGUI_RevolutionDlg.h @@ -30,7 +30,7 @@ #define DIALOGBOX_REVOLUTION_H #include "SALOME_Selection.h" -#include "SMESH_TypeFilter.hxx" +#include "SMESH_LogicalFilter.hxx" // QT Includes #include @@ -41,6 +41,7 @@ class QLabel; class QLineEdit; class QPushButton; class QRadioButton; +class QCheckBox; class QSpinBox; class SMESHGUI_SpinBox; class SMESHGUI; @@ -66,7 +67,7 @@ public: private: - void Init() ; + void Init( bool ResetControls = true ) ; void closeEvent( QCloseEvent* e ) ; void enterEvent ( QEvent * ) ; /* mouse enter the QWidget */ void hideEvent ( QHideEvent * ); /* ESC key */ @@ -76,12 +77,14 @@ private: SMESHGUI* mySMESHGUI ; /* Current SMESHGUI object */ SALOME_Selection* mySelection ; /* User shape selection */ int myNbOkElements ; /* to check when elements are defined */ + QString myElementsId; QWidget* myEditCurrentArgument; /* Current argument */ bool myBusy; SMESH::SMESH_Mesh_var myMesh; SMESH_Actor* myActor; - + Handle(SMESH_LogicalFilter) myMeshOrSubMeshOrGroupFilter; + QButtonGroup* GroupConstructors; QRadioButton* RadioButton1; QRadioButton* RadioButton2; @@ -94,7 +97,8 @@ private: QLabel* TextLabelElements; QPushButton* SelectElementsButton; QLineEdit* LineEditElements; - + QCheckBox* CheckBoxMesh; + QLabel* TextLabelPoint; QPushButton* SelectPointButton; QLabel* TextLabelX; @@ -131,7 +135,8 @@ private: void ActivateThisDialog() ; void onTextChange(const QString&); void onVectorChanged(); - + void onSelectMesh(bool toSelectMesh); + protected: QGridLayout* SMESHGUI_RevolutionDlgLayout; QGridLayout* GroupConstructorsLayout;