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-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
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
QGroupBox;
35
class
QPushButton;
36
class
TYElementWidget
;
37
42
class
TYSolWidget
:
public
TYWidget
43
{
44
Q_OBJECT
45
46
TY_DECL_METIER_WIDGET
(
TYSol
)
47
48
// Methodes
49
public
:
53
TYSolWidget
(
TYSol
* pElement, QWidget* _pParent = NULL);
57
virtual
~TYSolWidget
();
58
59
public
slots:
60
virtual
void
updateContent
();
61
virtual
void
apply
();
62
void
editResistivite
();
63
64
// Membres
65
protected
:
66
QGroupBox*
_groupBoxDefaultSolver
;
67
QGroupBox*
_groupBox9613Solver
;
68
TYLineEdit
*
_lineEditEpaisseur
;
69
TYLineEdit
*
_lineEditResistivite
;
70
TYLineEdit
*
_lineEditEcartType
;
71
TYLineEdit
*
_lineEditLongueur
;
72
TYLineEdit
*
_lineEditFacteurG
;
73
QLabel*
_labelEpaisseur
;
74
QLabel*
_labelResistivite
;
75
QLabel*
_labelEcartType
;
76
QLabel*
_labelLongueur
;
77
QLabel*
_labelFacteurG
;
78
79
QPushButton*
_pushButtonResistivite
;
80
81
protected
:
82
QGridLayout*
_solLayout
;
83
QGridLayout*
_groupBoxDefaultSolverLayout
;
84
QGridLayout*
_groupBox9613SolverLayout
;
85
86
TYElementWidget
*
_elmW
;
87
};
88
89
#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:43
TYSolWidget::_groupBoxDefaultSolverLayout
QGridLayout * _groupBoxDefaultSolverLayout
Definition:
TYSolWidget.h:83
TYSolWidget::_labelLongueur
QLabel * _labelLongueur
Definition:
TYSolWidget.h:76
TYSolWidget::_solLayout
QGridLayout * _solLayout
Definition:
TYSolWidget.h:82
TYSolWidget::_lineEditResistivite
TYLineEdit * _lineEditResistivite
Definition:
TYSolWidget.h:69
TYSolWidget::_lineEditLongueur
TYLineEdit * _lineEditLongueur
Definition:
TYSolWidget.h:71
TYSolWidget::apply
virtual void apply()
Definition:
TYSolWidget.cpp:140
TYSolWidget::_elmW
TYElementWidget * _elmW
Definition:
TYSolWidget.h:86
TYSolWidget::editResistivite
void editResistivite()
Definition:
TYSolWidget.cpp:170
TYSolWidget::_lineEditEcartType
TYLineEdit * _lineEditEcartType
Definition:
TYSolWidget.h:70
TYSolWidget::updateContent
virtual void updateContent()
Definition:
TYSolWidget.cpp:126
TYSolWidget::_labelResistivite
QLabel * _labelResistivite
Definition:
TYSolWidget.h:74
TYSolWidget::_groupBoxDefaultSolver
QGroupBox * _groupBoxDefaultSolver
Definition:
TYSolWidget.h:66
TYSolWidget::_labelEcartType
QLabel * _labelEcartType
Definition:
TYSolWidget.h:75
TYSolWidget::_groupBox9613SolverLayout
QGridLayout * _groupBox9613SolverLayout
Definition:
TYSolWidget.h:84
TYSolWidget::_groupBox9613Solver
QGroupBox * _groupBox9613Solver
Definition:
TYSolWidget.h:67
TYSolWidget::_labelEpaisseur
QLabel * _labelEpaisseur
Definition:
TYSolWidget.h:73
TYSolWidget::_lineEditEpaisseur
TYLineEdit * _lineEditEpaisseur
Definition:
TYSolWidget.h:68
TYSolWidget::~TYSolWidget
virtual ~TYSolWidget()
Definition:
TYSolWidget.cpp:124
TYSolWidget::_labelFacteurG
QLabel * _labelFacteurG
Definition:
TYSolWidget.h:77
TYSolWidget::_lineEditFacteurG
TYLineEdit * _lineEditFacteurG
Definition:
TYSolWidget.h:72
TYSolWidget::TYSolWidget
TYSolWidget(TYSol *pElement, QWidget *_pParent=NULL)
Definition:
TYSolWidget.cpp:35
TYSolWidget::_pushButtonResistivite
QPushButton * _pushButtonResistivite
Definition:
TYSolWidget.h:79
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 Feb 2 2026 12:03:43 for Code_TYMPAN by
1.9.1