Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYSolWidget.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 
23 #ifndef __TY_SOL_WIDGET__
24 #define __TY_SOL_WIDGET__
25 
26 #include "TYWidget.h"
27 #include <QGridLayout>
28 #include <QLabel>
29 
30 class TYSol;
31 class TYLineEdit;
32 class QGridLayout;
33 class QLabel;
34 class QCheckBox;
35 class QGroupBox;
36 class QPushButton;
37 class TYElementWidget;
38 
43 class TYSolWidget : public TYWidget
44 {
45  Q_OBJECT
46 
48 
49  // Methodes
50 public:
54  TYSolWidget(TYSol* pElement, QWidget* _pParent = NULL);
58  virtual ~TYSolWidget();
59 
60 public slots:
61  virtual void updateContent();
62  virtual void apply();
63  void editResistivite();
64 
65  // Membres
66 protected:
68  QGroupBox* _groupBox9613Solver;
74  QLabel* _labelEpaisseur;
76  QLabel* _labelEcartType;
77  QLabel* _labelLongueur;
78  QLabel* _labelFacteurG;
79 
80  QPushButton* _pushButtonResistivite;
81 
82 protected:
83  QGridLayout* _solLayout;
86 
88 };
89 
90 #endif // __TY_SOL_WIDGET__
outil IHM pour un objet metier de type TYElement (fichier header)
#define TY_DECL_METIER_WIDGET(classname)
Definition: TYWidget.h:31
classe de l'objet IHM pour un element
classe de l'objet IHM pour un sol
Definition: TYSolWidget.h:44
QGridLayout * _groupBoxDefaultSolverLayout
Definition: TYSolWidget.h:84
QLabel * _labelLongueur
Definition: TYSolWidget.h:77
QGridLayout * _solLayout
Definition: TYSolWidget.h:83
TYLineEdit * _lineEditResistivite
Definition: TYSolWidget.h:70
TYLineEdit * _lineEditLongueur
Definition: TYSolWidget.h:72
virtual void apply()
TYElementWidget * _elmW
Definition: TYSolWidget.h:87
void editResistivite()
TYLineEdit * _lineEditEcartType
Definition: TYSolWidget.h:71
virtual void updateContent()
QLabel * _labelResistivite
Definition: TYSolWidget.h:75
QGroupBox * _groupBoxDefaultSolver
Definition: TYSolWidget.h:67
QLabel * _labelEcartType
Definition: TYSolWidget.h:76
QGridLayout * _groupBox9613SolverLayout
Definition: TYSolWidget.h:85
QGroupBox * _groupBox9613Solver
Definition: TYSolWidget.h:68
QLabel * _labelEpaisseur
Definition: TYSolWidget.h:74
TYLineEdit * _lineEditEpaisseur
Definition: TYSolWidget.h:69
virtual ~TYSolWidget()
QLabel * _labelFacteurG
Definition: TYSolWidget.h:78
TYLineEdit * _lineEditFacteurG
Definition: TYSolWidget.h:73
TYSolWidget(TYSol *pElement, QWidget *_pParent=NULL)
Definition: TYSolWidget.cpp:33
QPushButton * _pushButtonResistivite
Definition: TYSolWidget.h:80
Definition: TYSol.h:25
classe de l'objet IHM pour un objet metier de type TYElement
Definition: TYWidget.h:43