Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYSolResistanceDialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
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 QFrame;
39 class QLabel;
40 class QPushButton;
41 class QSlider;
42 class QToolButton;
43 class QButtonGroup;
44 class TYLineEdit;
46 
53 {
54  Q_OBJECT
55 
56 public:
60  TYSolResistanceDialog(QWidget* parent = 0, double res = 0, const char* name = 0, bool modal = false,
61  Qt::WindowFlags fl = QFlag(0));
66 
70  double getResistivite()
71  {
72  return _res;
73  }
74 
75 protected slots:
76 
80  void sliderChanged(int value);
84  void lineEditChanged(const QString& sValue);
88  void buttonValue(int button);
89 
90 protected:
91  QFrame* _frame6;
92  QFrame* _line1_2_4;
93  QFrame* _line1_2_11;
94  QLabel* _textLabel5_8_6;
95  QFrame* _line1_2_13;
96  QFrame* _line1_2_6;
97  QLabel* _textLabel5_8_2;
98  QFrame* _line1_2;
99  QLabel* _textLabel5_8;
100  QFrame* _line1_2_5;
101  QFrame* _line1_2_2;
102  QFrame* _line1_2_7;
103  QFrame* _line1_2_3;
107  QLabel* _textLabel5;
110  QFrame* _line1;
111  QLabel* _textLabel3;
113  QLabel* _textLabel6;
114  QPushButton* _pushButton1;
115  QPushButton* _pushButton2;
116  QSlider* _slider1;
117  QLabel* _textLabel4;
118  QLabel* _textLabel4_2;
119  QLabel* _textLabel4_3;
120  QLabel* _textLabel4_4;
121  QLabel* _textLabel4_5;
122  QLabel* _textLabel4_6;
123  QLabel* _textLabel4_7;
124  QLabel* _textLabel4_8;
125  QLabel* _textLabel4_9;
126  QLabel* _textLabel4_10;
127  QLabel* _textLabel4_11;
128  QLabel* _textLabel4_12;
129  QToolButton* _toolButton1;
130  QToolButton* _toolButton1_8_4;
131  QToolButton* _toolButton1_8_6;
132  QToolButton* _toolButton1_8_5;
133  QToolButton* _toolButton1_8_3;
134  QToolButton* _toolButton1_8_11;
135  QToolButton* _toolButton1_8;
136  QToolButton* _toolButton1_8_13;
137  QToolButton* _toolButton1_8_2;
138  QToolButton* _toolButton1_8_7;
140  QButtonGroup* _pButtonGroup;
141 
142  QVBoxLayout* _layout1;
143 
144  int _mode;
145 
146  double _res;
147 };
148 
149 #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)