Salome HOME
Merge branch merge_1_2_d
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Preferences_ScalarBarDlg.h
1 //  SMESH SMESHGUI : GUI for SMESH component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : SMESHGUI_Preferences_ScalarBarDlg.h
25 //  Author : Nicolas REJNERI
26 //  Module : SMESH
27 //  $Header$
28
29 #ifndef SMESHGUI_PREFERENCES_SCALARBARDLG_H
30 #define SMESHGUI_PREFERENCES_SCALARBARDLG_H
31
32 #include <qvariant.h>
33 #include <qdialog.h>
34 class QVBoxLayout; 
35 class QHBoxLayout; 
36 class QGridLayout; 
37 class QButtonGroup;
38 class QCheckBox;
39 class QComboBox;
40 class QGroupBox;
41 class QLabel;
42 class QLineEdit;
43 class QPushButton;
44 class QRadioButton;
45 class QSpinBox;
46
47 class SMESHGUI_Preferences_ScalarBarDlg : public QDialog
48
49     Q_OBJECT
50
51 public:
52     SMESHGUI_Preferences_ScalarBarDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
53     ~SMESHGUI_Preferences_ScalarBarDlg();
54
55     QButtonGroup* ButtonGroup_Orientation;
56     QRadioButton* RadioHoriz;
57     QRadioButton* RadioVert;
58     QGroupBox* Properties;
59     QLabel* NumberLabels;
60     QLabel* NumberColors;
61     QSpinBox* SpinBoxLabels;
62     QSpinBox* SpinBoxColors;
63     QLabel* TextLabel2;
64     QComboBox* ComboBox1;
65     QCheckBox* Shadow;
66     QCheckBox* Italic;
67     QCheckBox* Bold;
68     QGroupBox* GroupBox5;
69     QLineEdit* LineEditWidth;
70     QLineEdit* LineEditHeight;
71     QLabel* Height;
72     QLabel* Width;
73     QPushButton* buttonCancel;
74     QPushButton* buttonOk;
75
76 protected:
77     QGridLayout* grid;
78     QGridLayout* grid_2;
79     QGridLayout* grid_3;
80     QGridLayout* grid_4;
81     QGridLayout* grid_5;
82     QGridLayout* grid_6;
83     QGridLayout* grid_7;
84     QGridLayout* grid_8;
85     QGridLayout* grid_9;
86     QGridLayout* grid_10;
87     QGridLayout* grid_11;
88     QGridLayout* grid_12;
89     QGridLayout* grid_13;
90     QGridLayout* grid_14;
91     QGridLayout* grid_15;
92 };
93
94 #endif // SMESHGUI_PREFERENCES_SCALARBARDLG_H