1 // File : SMESHGUI_NodesDlg.h
2 // Created : Tue May 14 21:36:44 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
10 #ifndef DIALOGBOX_NODES_H
11 #define DIALOGBOX_NODES_H
13 #include "SALOME_Selection.h"
29 class SMESHGUI_SpinBox;
32 #include <SALOMEconfig.h>
33 #include CORBA_SERVER_HEADER(SMESH_Mesh)
35 //=================================================================================
36 // class : SMESHGUI_NodesDlg
38 //=================================================================================
39 class SMESHGUI_NodesDlg : public QDialog
44 SMESHGUI_NodesDlg( QWidget* parent = 0, const char* name = 0,
45 SALOME_Selection* Sel = 0,
53 SALOME_Selection* mySelection ;
56 SMESH::SMESH_Mesh_var myMesh;
58 void Init(SALOME_Selection* Sel) ;
59 void enterEvent(QEvent* e);
60 void closeEvent(QCloseEvent* e) ;
62 QButtonGroup* GroupConstructors;
63 QRadioButton* Constructor1;
64 QGroupBox* GroupCoordinates;
65 SMESHGUI_SpinBox* SpinBox_X;
66 SMESHGUI_SpinBox* SpinBox_Y;
67 SMESHGUI_SpinBox* SpinBox_Z;
73 QGroupBox* GroupButtons;
74 QPushButton* buttonApply;
75 QPushButton* buttonOk;
76 QPushButton* buttonCancel;
83 void DeactivateActiveDialog() ;
84 void ActivateThisDialog() ;
85 void SelectionIntoArgument() ;
86 void ValueChangedInSpinBox( double newValue ) ;
89 QGridLayout* SMESHGUI_NodesDlgLayout;
90 QGridLayout* GroupConstructorsLayout;
91 QGridLayout* GroupCoordinatesLayout;
92 QGridLayout* GroupButtonsLayout;
95 #endif // DIALOGBOX_NODES_H