Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYPlanEauWidget.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_PLAN_EAU_WIDGET__
24
#define __TY_PLAN_EAU_WIDGET__
25
26
#include "
TYWidget.h
"
27
28
class
TYPlanEau
;
29
class
TYLineEdit
;
30
class
QLabel;
31
class
QLineEdit;
32
class
QGridLayout;
33
class
QGroupBox;
34
class
QPushButton;
35
class
TYTerrainWidget
;
36
class
QCheckBox;
37
42
class
TYPlanEauWidget
:
public
TYWidget
43
{
44
Q_OBJECT
45
46
TY_DECL_METIER_WIDGET
(
TYPlanEau
)
47
48
// Methodes
49
public
:
53
TYPlanEauWidget
(
TYPlanEau
* pElement, QWidget* _pParent = NULL);
57
virtual
~TYPlanEauWidget
();
58
59
public
slots:
60
virtual
void
updateContent
();
61
virtual
void
apply
();
62
virtual
void
updateUseDefault
();
63
virtual
void
setDefaultValue
();
64
65
// Membres
66
protected
:
67
QGroupBox*
_groupBoxAlt
;
68
QLabel*
_labelAltitude
;
69
TYLineEdit
*
_lineEditAltitude
;
70
71
QGroupBox*
_groupBoxDistMax
;
72
QLabel*
_labelDistMax
;
73
TYLineEdit
*
_lineEditDistMax
;
74
QGridLayout*
_groupBoxDistLayout
;
75
76
QPushButton*
_pushButtonUseDefault
;
77
QLabel*
_labelUseDefault
;
78
79
QGridLayout*
_planEauLayout
;
80
QGridLayout*
_groupBoxAltLayout
;
81
82
TYTerrainWidget
*
_terrainW
;
83
};
84
85
#endif
// __TY_PLAN_EAU_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
TYLineEdit
Definition:
TYLineEdit.h:33
TYPlanEauWidget
Classe de l'objet IHM pour un plan d'eau.
Definition:
TYPlanEauWidget.h:43
TYPlanEauWidget::_groupBoxDistLayout
QGridLayout * _groupBoxDistLayout
Definition:
TYPlanEauWidget.h:74
TYPlanEauWidget::_lineEditAltitude
TYLineEdit * _lineEditAltitude
Definition:
TYPlanEauWidget.h:69
TYPlanEauWidget::_pushButtonUseDefault
QPushButton * _pushButtonUseDefault
Definition:
TYPlanEauWidget.h:76
TYPlanEauWidget::~TYPlanEauWidget
virtual ~TYPlanEauWidget()
Definition:
TYPlanEauWidget.cpp:95
TYPlanEauWidget::updateUseDefault
virtual void updateUseDefault()
Definition:
TYPlanEauWidget.cpp:145
TYPlanEauWidget::apply
virtual void apply()
Definition:
TYPlanEauWidget.cpp:114
TYPlanEauWidget::_lineEditDistMax
TYLineEdit * _lineEditDistMax
Definition:
TYPlanEauWidget.h:73
TYPlanEauWidget::_labelUseDefault
QLabel * _labelUseDefault
Definition:
TYPlanEauWidget.h:77
TYPlanEauWidget::_labelDistMax
QLabel * _labelDistMax
Definition:
TYPlanEauWidget.h:72
TYPlanEauWidget::_terrainW
TYTerrainWidget * _terrainW
Definition:
TYPlanEauWidget.h:82
TYPlanEauWidget::_groupBoxAlt
QGroupBox * _groupBoxAlt
Definition:
TYPlanEauWidget.h:67
TYPlanEauWidget::updateContent
virtual void updateContent()
Definition:
TYPlanEauWidget.cpp:97
TYPlanEauWidget::setDefaultValue
virtual void setDefaultValue()
Definition:
TYPlanEauWidget.cpp:132
TYPlanEauWidget::_groupBoxDistMax
QGroupBox * _groupBoxDistMax
Definition:
TYPlanEauWidget.h:71
TYPlanEauWidget::_labelAltitude
QLabel * _labelAltitude
Definition:
TYPlanEauWidget.h:68
TYPlanEauWidget::TYPlanEauWidget
TYPlanEauWidget(TYPlanEau *pElement, QWidget *_pParent=NULL)
Definition:
TYPlanEauWidget.cpp:32
TYPlanEauWidget::_planEauLayout
QGridLayout * _planEauLayout
Definition:
TYPlanEauWidget.h:79
TYPlanEauWidget::_groupBoxAltLayout
QGridLayout * _groupBoxAltLayout
Definition:
TYPlanEauWidget.h:80
TYPlanEau
Definition:
TYPlanEau.h:33
TYTerrainWidget
classe de l'objet IHM pour un terrain
Definition:
TYTerrainWidget.h:50
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