Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYSolResistanceDialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
14  */
15 
26 #ifndef __TY_SOL_RESISTANCE__DIALOG_
27 #define __TY_SOL_RESISTANCE__DIALOG_
28 
29 #include <qvariant.h>
30 #include <qdialog.h>
31 // Added by qt3to4:
32 #include <QGridLayout>
33 #include <QHBoxLayout>
34 #include <QVBoxLayout>
35 #include <QLabel>
36 #include <QFrame>
37 class QVBoxLayout;
38 class QHBoxLayout;
39 class QGridLayout;
40 class QFrame;
41 class QLabel;
42 class QLineEdit;
43 class QPushButton;
44 class QSlider;
45 class QToolButton;
46 class QButtonGroup;
47 class TYLineEdit;
49 
56 {
57  Q_OBJECT
58 
59 public:
63  TYSolResistanceDialog(QWidget* parent = 0, double res = 0, const char* name = 0, bool modal = false,
64  Qt::WindowFlags fl = QFlag(0));
69 
73  double getResistivite()
74  {
75  return _res;
76  }
77 
78 protected slots:
79 
83  void sliderChanged(int value);
87  void lineEditChanged(const QString& sValue);
91  void buttonValue(int button);
92 
93 protected:
94  QFrame* _frame6;
95  QFrame* _line1_2_4;
96  QFrame* _line1_2_11;
97  QLabel* _textLabel5_8_6;
98  QFrame* _line1_2_13;
99  QFrame* _line1_2_6;
101  QFrame* _line1_2;
102  QLabel* _textLabel5_8;
103  QFrame* _line1_2_5;
104  QFrame* _line1_2_2;
105  QFrame* _line1_2_7;
106  QFrame* _line1_2_3;
110  QLabel* _textLabel5;
113  QFrame* _line1;
114  QLabel* _textLabel3;
116  QLabel* _textLabel6;
117  QPushButton* _pushButton1;
118  QPushButton* _pushButton2;
119  QSlider* _slider1;
120  QLabel* _textLabel4;
121  QLabel* _textLabel4_2;
122  QLabel* _textLabel4_3;
123  QLabel* _textLabel4_4;
124  QLabel* _textLabel4_5;
125  QLabel* _textLabel4_6;
126  QLabel* _textLabel4_7;
127  QLabel* _textLabel4_8;
128  QLabel* _textLabel4_9;
129  QLabel* _textLabel4_10;
130  QLabel* _textLabel4_11;
131  QLabel* _textLabel4_12;
132  QToolButton* _toolButton1;
133  QToolButton* _toolButton1_8_4;
134  QToolButton* _toolButton1_8_6;
135  QToolButton* _toolButton1_8_5;
136  QToolButton* _toolButton1_8_3;
137  QToolButton* _toolButton1_8_11;
138  QToolButton* _toolButton1_8;
139  QToolButton* _toolButton1_8_13;
140  QToolButton* _toolButton1_8_2;
141  QToolButton* _toolButton1_8_7;
143  QButtonGroup* _pButtonGroup;
144 
145  QVBoxLayout* _layout1;
146 
147  int _mode;
148 
149  double _res;
150 };
151 
152 #endif // __TY_SOL_RESISTANCE__DIALOG_
Parent class of Tympan Qt dialogs of type form (geader file)
const char * name
Objet IHM pour la saisie de la resisitivite du sol.
TYSolResistanceDialog(QWidget *parent=0, double res=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=QFlag(0))
void lineEditChanged(const QString &sValue)