Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYFaceSetWidget.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
27
#ifndef __TY_FACESET_WIDGET__
28
#define __TY_FACESET_WIDGET__
29
30
#include "
TYWidget.h
"
31
// Added by qt3to4:
32
#include <QGridLayout>
33
#include <QLabel>
34
35
class
TYFaceSet
;
36
class
TYLineEdit
;
37
class
QGridLayout;
38
class
QLabel;
39
class
QGroupBox;
40
45
class
TYFaceSetWidget
:
public
TYWidget
46
{
47
Q_OBJECT
48
49
TY_DECL_METIER_WIDGET
(
TYFaceSet
)
50
51
// Methodes
52
public
:
56
TYFaceSetWidget
(
TYFaceSet
* pElement, QWidget* _pParent = NULL);
60
virtual
~TYFaceSetWidget
();
61
62
public
slots:
63
virtual
void
updateContent
();
64
virtual
void
apply
();
65
66
// Membres
67
protected
:
68
QGroupBox*
_groupBoxVolume
;
69
QGroupBox*
_groupBoxSurface
;
70
QGridLayout*
_groupBoxVolumeLayout
;
71
QGridLayout*
_groupBoxSurfaceLayout
;
72
73
TYLineEdit
*
_lineEditVolume
;
74
QLabel*
_labelVolume
;
75
TYLineEdit
*
_lineEditSurface
;
76
QLabel*
_labelSurface
;
77
78
QGridLayout*
_faceSetLayout
;
79
};
80
81
#endif
// __TY_FACESET_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
TYFaceSetWidget
classe de l'objet IHM pour un ensemble de faces
Definition:
TYFaceSetWidget.h:46
TYFaceSetWidget::_lineEditVolume
TYLineEdit * _lineEditVolume
Definition:
TYFaceSetWidget.h:73
TYFaceSetWidget::apply
virtual void apply()
Definition:
TYFaceSetWidget.cpp:88
TYFaceSetWidget::updateContent
virtual void updateContent()
Definition:
TYFaceSetWidget.cpp:82
TYFaceSetWidget::_faceSetLayout
QGridLayout * _faceSetLayout
Definition:
TYFaceSetWidget.h:78
TYFaceSetWidget::TYFaceSetWidget
TYFaceSetWidget(TYFaceSet *pElement, QWidget *_pParent=NULL)
Definition:
TYFaceSetWidget.cpp:36
TYFaceSetWidget::_groupBoxSurfaceLayout
QGridLayout * _groupBoxSurfaceLayout
Definition:
TYFaceSetWidget.h:71
TYFaceSetWidget::_lineEditSurface
TYLineEdit * _lineEditSurface
Definition:
TYFaceSetWidget.h:75
TYFaceSetWidget::_labelSurface
QLabel * _labelSurface
Definition:
TYFaceSetWidget.h:76
TYFaceSetWidget::_groupBoxSurface
QGroupBox * _groupBoxSurface
Definition:
TYFaceSetWidget.h:69
TYFaceSetWidget::_groupBoxVolume
QGroupBox * _groupBoxVolume
Definition:
TYFaceSetWidget.h:68
TYFaceSetWidget::_labelVolume
QLabel * _labelVolume
Definition:
TYFaceSetWidget.h:74
TYFaceSetWidget::~TYFaceSetWidget
virtual ~TYFaceSetWidget()
Definition:
TYFaceSetWidget.cpp:80
TYFaceSetWidget::_groupBoxVolumeLayout
QGridLayout * _groupBoxVolumeLayout
Definition:
TYFaceSetWidget.h:70
TYFaceSet
Definition:
TYFaceSet.h:30
TYLineEdit
Definition:
TYLineEdit.h:33
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:42 for Code_TYMPAN by
1.9.1