1 // File : SMESHGUI_Preferences_ColorDlg.h
2 // Created : Mon Jun 17 19:11:46 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
10 #ifndef SMESHGUI_PREFERENCES_COLORDLG_H
11 #define SMESHGUI_PREFERENCES_COLORDLG_H
14 #include "QAD_Config.h"
15 #include "QAD_Settings.h"
18 #include <SALOMEconfig.h>
19 #include CORBA_SERVER_HEADER(SMESH_Gen)
32 class SMESHGUI_Preferences_ColorDlg : public QDialog
37 SMESHGUI_Preferences_ColorDlg( QWidget* parent = 0, const char* name = 0 );
38 ~SMESHGUI_Preferences_ColorDlg();
40 void SetColor(int type, QColor color);
41 QColor GetColor(int type);
42 void SetIntValue(int type, int value);
43 int GetIntValue(int type);
46 void closeEvent( QCloseEvent* e ) ;
50 // void RadioButtonClicked(int radioButtonId);
53 void DeactivateActiveDialog() ;
54 void ActivateThisDialog() ;
56 void SelectFillColor();
57 void SelectBackFaceColor();
58 void SelectOutlineColor();
59 void SelectNodeColor();
62 SMESH::SMESH_Gen_var myCompMesh ;
63 SMESHGUI* mySMESHGUI ;
65 QButtonGroup* ButtonGroup1;
66 QLabel* TextLabel_Fill;
67 QPushButton* btnFillColor;
68 QLabel* TextLabel_Outine;
69 QPushButton* btnOutlineColor;
70 QLabel* TextLabel_Width;
71 QSpinBox* SpinBox_Width;
72 QLabel* TextLabel_BackFace;
73 QPushButton* btnBackFaceColor;
74 QLabel* TextLabel_ShrinkCoeff;
75 QSpinBox* SpinBox_Shrink;
76 QButtonGroup* ButtonGroup2;
77 QLabel* TextLabel_Nodes_Color;
78 QPushButton* btnNodeColor;
79 QLabel* TextLabel_Nodes_Size;
80 QSpinBox* SpinBox_Nodes_Size;
81 QButtonGroup* GroupButtons;
82 QPushButton* buttonOk;
83 QPushButton* buttonCancel;
86 #endif // SMESHGUI_PREFERENCES_COLORDLG_H