1 // File : VisuGUI_InitMeshDlg.h
2 // Created : Mon May 27 10:23:17 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
10 #ifndef DIALOGBOX_INIT_MESH_H
11 #define DIALOGBOX_INIT_MESH_H
13 #include "SALOME_Selection.h"
14 #include "SALOME_TypeFilter.hxx"
21 #include <SALOMEconfig.h>
22 #include CORBA_SERVER_HEADER(GEOM_Gen)
23 #include CORBA_SERVER_HEADER(GEOM_Shape)
37 //=================================================================================
38 // class : VisuGUI_InitMeshDlg
40 //=================================================================================
41 class VisuGUI_InitMeshDlg : public QDialog
46 VisuGUI_InitMeshDlg( QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0 );
47 ~VisuGUI_InitMeshDlg();
51 void Init( SALOME_Selection* Sel ) ;
52 void closeEvent( QCloseEvent* e ) ;
53 void enterEvent ( QEvent * ) ;
56 SALOME_Selection* mySelection ;
58 GEOM::GEOM_Shape_var myGeomShape ;
60 QLineEdit* myEditCurrentArgument;
64 Handle(SALOME_TypeFilter) myGeomFilter;
66 QButtonGroup* GroupConstructors;
67 QRadioButton* Constructor1;
68 QGroupBox* GroupButtons;
69 QPushButton* buttonOk;
70 QPushButton* buttonCancel;
71 QPushButton* buttonApply;
73 QLabel* TextLabel_NameMesh ;
74 QLineEdit* LineEdit_NameMesh ;
75 QLabel* TextLabelC1A1;
76 QPushButton* SelectButtonC1A1;
77 QLineEdit* LineEditC1A1;
81 void ConstructorsClicked(int constructorId);
85 void SetEditCurrentArgument() ;
86 void SelectionIntoArgument() ;
87 void DeactivateActiveDialog() ;
88 void ActivateThisDialog() ;
89 void TextChangedInLineEdit(const QString& newText) ;
92 QGridLayout* VisuGUI_InitMeshDlgLayout;
93 QGridLayout* GroupConstructorsLayout;
94 QGridLayout* GroupButtonsLayout;
95 QGridLayout* GroupC1Layout;
98 #endif // DIALOGBOX_INIT_MESH_H