1 // File : SMESHGUI_EdgesConnectivityDlg.h
2 // Created : Tue Jun 25 21:22:54 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
11 #ifndef DIALOGBOX_EDGES_CONNECTIVITY_H
12 #define DIALOGBOX_EDGES_CONNECTIVITY_H
14 #include "SALOME_Selection.h"
31 class SMESHGUI_SpinBox;
34 #include <SALOMEconfig.h>
35 #include CORBA_SERVER_HEADER(SMESH_Mesh)
37 //=================================================================================
38 // class : SMESHGUI_EdgesConnectivityDlg
40 //=================================================================================
41 class SMESHGUI_EdgesConnectivityDlg : public QDialog
46 SMESHGUI_EdgesConnectivityDlg( QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0 );
47 ~SMESHGUI_EdgesConnectivityDlg();
51 void Init( SALOME_Selection* Sel ) ;
52 void closeEvent( QCloseEvent* e ) ;
53 void enterEvent ( QEvent * ) ;
55 SMESHGUI* mySMESHGUI ;
56 SALOME_Selection* mySelection ;
59 QLineEdit* myEditCurrentArgument;
61 QButtonGroup* GroupConstructors;
62 QRadioButton* Constructor1;
63 QGroupBox* GroupButtons;
64 QPushButton* buttonOk;
65 QPushButton* buttonCancel;
66 QPushButton* buttonApply;
68 QLabel* TextLabelC1A1;
69 QPushButton* SelectButtonC1A1;
70 QLineEdit* LineEditC1A1;
72 QCheckBox* BoundaryEdges;
73 QCheckBox* ManifoldEdges;
74 QCheckBox* NonManifoldEdges;
75 QCheckBox* FeatureEdges;
78 SMESHGUI_SpinBox* SpinBox_FeatureAngle ;
82 void ConstructorsClicked(int constructorId);
86 void SetEditCurrentArgument() ;
87 void SelectionIntoArgument() ;
88 void DeactivateActiveDialog() ;
89 void ActivateThisDialog() ;
94 QGridLayout* SMESHGUI_EdgesConnectivityDlgLayout;
95 QGridLayout* GroupConstructorsLayout;
96 QGridLayout* GroupButtonsLayout;
97 QGridLayout* GroupC1Layout;
104 #endif // DIALOGBOX_EDGES_CONNECTIVITY_H