#define DIALOGBOX_REVOLUTION_H
#include "SALOME_Selection.h"
-#include "SMESH_TypeFilter.hxx"
+#include "SMESH_LogicalFilter.hxx"
// QT Includes
#include <qdialog.h>
class QLineEdit;
class QPushButton;
class QRadioButton;
+class QCheckBox;
class QSpinBox;
class SMESHGUI_SpinBox;
class SMESHGUI;
private:
- void Init() ;
+ void Init( bool ResetControls = true ) ;
void closeEvent( QCloseEvent* e ) ;
void enterEvent ( QEvent * ) ; /* mouse enter the QWidget */
void hideEvent ( QHideEvent * ); /* ESC key */
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;
QLabel* TextLabelElements;
QPushButton* SelectElementsButton;
QLineEdit* LineEditElements;
-
+ QCheckBox* CheckBoxMesh;
+
QLabel* TextLabelPoint;
QPushButton* SelectPointButton;
QLabel* TextLabelX;
void ActivateThisDialog() ;
void onTextChange(const QString&);
void onVectorChanged();
-
+ void onSelectMesh(bool toSelectMesh);
+
protected:
QGridLayout* SMESHGUI_RevolutionDlgLayout;
QGridLayout* GroupConstructorsLayout;