Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYCoursEauWidget.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_COURSEAU_WIDGET__
24
#define __TY_COURSEAU_WIDGET__
25
26
#include "
TYWidget.h
"
27
// Added by qt3to4:
28
#include <QGridLayout>
29
#include <QLabel>
30
31
class
TYCoursEau
;
32
class
QGridLayout;
33
class
TYAcousticLineWidget
;
34
39
class
TYCoursEauWidget
:
public
TYWidget
40
{
41
Q_OBJECT
42
43
TY_DECL_METIER_WIDGET
(
TYCoursEau
)
44
45
// Methodes
46
public
:
50
TYCoursEauWidget
(
TYCoursEau
* pElement, QWidget* _pParent = NULL);
54
virtual
~TYCoursEauWidget
();
55
56
public
slots:
57
virtual
void
updateContent
();
58
virtual
void
apply
();
59
60
// Membres
61
protected
:
62
QGridLayout*
_coursEauLayout
;
63
TYAcousticLineWidget
*
_elmW
;
64
};
65
66
#endif
// __TY_COURSEAU_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
TYAcousticLineWidget
classe de l'objet IHM pour une ligne acoustique
Definition:
TYAcousticLineWidget.h:51
TYCoursEauWidget
classe d'un objet IHM pour un cours d'eau
Definition:
TYCoursEauWidget.h:40
TYCoursEauWidget::updateContent
virtual void updateContent()
Definition:
TYCoursEauWidget.cpp:46
TYCoursEauWidget::apply
virtual void apply()
Definition:
TYCoursEauWidget.cpp:51
TYCoursEauWidget::TYCoursEauWidget
TYCoursEauWidget(TYCoursEau *pElement, QWidget *_pParent=NULL)
Definition:
TYCoursEauWidget.cpp:31
TYCoursEauWidget::_elmW
TYAcousticLineWidget * _elmW
Definition:
TYCoursEauWidget.h:63
TYCoursEauWidget::~TYCoursEauWidget
virtual ~TYCoursEauWidget()
Definition:
TYCoursEauWidget.cpp:44
TYCoursEauWidget::_coursEauLayout
QGridLayout * _coursEauLayout
Definition:
TYCoursEauWidget.h:62
TYCoursEau
Definition:
TYCoursEau.h:29
TYWidget
classe de l'objet IHM pour un objet metier de type TYElement
Definition:
TYWidget.h:43
Generated on Mon Dec 22 2025 10:42:02 for Code_TYMPAN by
1.9.1