Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
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
47
TY_DECL_METIER_WIDGET
(
TYSol
)
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
:
67
QGroupBox*
_groupBoxDefaultSolver
;
68
QGroupBox*
_groupBox9613Solver
;
69
TYLineEdit
*
_lineEditEpaisseur
;
70
TYLineEdit
*
_lineEditResistivite
;
71
TYLineEdit
*
_lineEditEcartType
;
72
TYLineEdit
*
_lineEditLongueur
;
73
TYLineEdit
*
_lineEditFacteurG
;
74
QLabel*
_labelEpaisseur
;
75
QLabel*
_labelResistivite
;
76
QLabel*
_labelEcartType
;
77
QLabel*
_labelLongueur
;
78
QLabel*
_labelFacteurG
;
79
80
QPushButton*
_pushButtonResistivite
;
81
82
protected
:
83
QGridLayout*
_solLayout
;
84
QGridLayout*
_groupBoxDefaultSolverLayout
;
85
QGridLayout*
_groupBox9613SolverLayout
;
86
87
TYElementWidget
*
_elmW
;
88
};
89
90
#endif
// __TY_SOL_WIDGET__
TYWidget.h
outil IHM pour un objet metier de type TYElement (fichier header)
TY_DECL_METIER_WIDGET
#define TY_DECL_METIER_WIDGET(classname)
Definition:
TYWidget.h:31
TYElementWidget
classe de l'objet IHM pour un element
Definition:
TYElementWidget.h:46
TYLineEdit
Definition:
TYLineEdit.h:33
TYSolWidget
classe de l'objet IHM pour un sol
Definition:
TYSolWidget.h:44
TYSolWidget::_groupBoxDefaultSolverLayout
QGridLayout * _groupBoxDefaultSolverLayout
Definition:
TYSolWidget.h:84
TYSolWidget::_labelLongueur
QLabel * _labelLongueur
Definition:
TYSolWidget.h:77
TYSolWidget::_solLayout
QGridLayout * _solLayout
Definition:
TYSolWidget.h:83
TYSolWidget::_lineEditResistivite
TYLineEdit * _lineEditResistivite
Definition:
TYSolWidget.h:70
TYSolWidget::_lineEditLongueur
TYLineEdit * _lineEditLongueur
Definition:
TYSolWidget.h:72
TYSolWidget::apply
virtual void apply()
Definition:
TYSolWidget.cpp:137
TYSolWidget::_elmW
TYElementWidget * _elmW
Definition:
TYSolWidget.h:87
TYSolWidget::editResistivite
void editResistivite()
Definition:
TYSolWidget.cpp:167
TYSolWidget::_lineEditEcartType
TYLineEdit * _lineEditEcartType
Definition:
TYSolWidget.h:71
TYSolWidget::updateContent
virtual void updateContent()
Definition:
TYSolWidget.cpp:123
TYSolWidget::_labelResistivite
QLabel * _labelResistivite
Definition:
TYSolWidget.h:75
TYSolWidget::_groupBoxDefaultSolver
QGroupBox * _groupBoxDefaultSolver
Definition:
TYSolWidget.h:67
TYSolWidget::_labelEcartType
QLabel * _labelEcartType
Definition:
TYSolWidget.h:76
TYSolWidget::_groupBox9613SolverLayout
QGridLayout * _groupBox9613SolverLayout
Definition:
TYSolWidget.h:85
TYSolWidget::_groupBox9613Solver
QGroupBox * _groupBox9613Solver
Definition:
TYSolWidget.h:68
TYSolWidget::_labelEpaisseur
QLabel * _labelEpaisseur
Definition:
TYSolWidget.h:74
TYSolWidget::_lineEditEpaisseur
TYLineEdit * _lineEditEpaisseur
Definition:
TYSolWidget.h:69
TYSolWidget::~TYSolWidget
virtual ~TYSolWidget()
Definition:
TYSolWidget.cpp:121
TYSolWidget::_labelFacteurG
QLabel * _labelFacteurG
Definition:
TYSolWidget.h:78
TYSolWidget::_lineEditFacteurG
TYLineEdit * _lineEditFacteurG
Definition:
TYSolWidget.h:73
TYSolWidget::TYSolWidget
TYSolWidget(TYSol *pElement, QWidget *_pParent=NULL)
Definition:
TYSolWidget.cpp:33
TYSolWidget::_pushButtonResistivite
QPushButton * _pushButtonResistivite
Definition:
TYSolWidget.h:80
TYSol
Definition:
TYSol.h:25
TYWidget
classe de l'objet IHM pour un objet metier de type TYElement
Definition:
TYWidget.h:43
Generated on Mon Nov 27 2023 07:56:32 for Code_TYMPAN by
1.9.1