Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYAcousticSurfaceNodeWidget.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_ACOUSTICSURFACENODE_WIDGET__
28
#define __TY_ACOUSTICSURFACENODE_WIDGET__
29
30
#include "
TYWidget.h
"
31
// Added by qt3to4:
32
#include <QGridLayout>
33
#include <QLabel>
34
35
class
TYAcousticSurfaceNode
;
36
class
TYAcousticInterfaceWidget
;
37
class
TYElementWidget
;
38
class
QGridLayout;
39
class
QGroupBox;
40
class
TYSurfaceInterfaceWidget
;
41
class
TYColorInterfaceWidget
;
42
class
QTableWidget;
43
48
class
TYAcousticSurfaceNodeWidget
:
public
TYWidget
49
{
50
Q_OBJECT
51
52
TY_DECL_METIER_WIDGET
(
TYAcousticSurfaceNode
)
53
54
// Methodes
55
public
:
59
TYAcousticSurfaceNodeWidget
(
TYAcousticSurfaceNode
* pElement, QWidget* _pParent = NULL);
63
virtual
~TYAcousticSurfaceNodeWidget
();
64
65
public
slots:
66
virtual
void
updateContent
();
67
virtual
void
apply
();
68
74
void
editAccSurf
(
const
int
& item);
75
80
void
delAccSurf
(
const
int
& item);
81
85
// void editRect();
86
87
// void selectionChanged(int index);
88
92
virtual
void
contextMenuEvent
(QContextMenuEvent* e);
93
94
// Membres
95
protected
:
96
// QGroupBox* _groupBoxRect;
97
// QLineEdit* _lineEditNomRect;
98
// QPushButton* _pushButtonRect;
99
QGroupBox*
_groupBox
;
100
101
QTableWidget*
_tableFaces
;
102
103
QGridLayout*
_acousticSurfacenodeLayout
;
104
// QGridLayout* _groupBoxRectLayout;
105
QGridLayout*
_groupBoxLayout
;
106
107
TYAcousticInterfaceWidget
*
_interW
;
108
TYSurfaceInterfaceWidget
*
_surfaceW
;
109
TYColorInterfaceWidget
*
_colorW
;
110
TYElementWidget
*
_elmW
;
111
};
112
113
#endif
// __TY_ACOUSTICSURFACENODE_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
TYAcousticInterfaceWidget
classe de l'objet IHM pour une interface acoustique
Definition:
TYAcousticInterfaceWidget.h:53
TYAcousticSurfaceNodeWidget
classe de l'objet IHM pour ensemble de surfaces acoustiques
Definition:
TYAcousticSurfaceNodeWidget.h:49
TYAcousticSurfaceNodeWidget::updateContent
virtual void updateContent()
Definition:
TYAcousticSurfaceNodeWidget.cpp:101
TYAcousticSurfaceNodeWidget::apply
virtual void apply()
Definition:
TYAcousticSurfaceNodeWidget.cpp:125
TYAcousticSurfaceNodeWidget::_elmW
TYElementWidget * _elmW
Definition:
TYAcousticSurfaceNodeWidget.h:110
TYAcousticSurfaceNodeWidget::_surfaceW
TYSurfaceInterfaceWidget * _surfaceW
Definition:
TYAcousticSurfaceNodeWidget.h:108
TYAcousticSurfaceNodeWidget::~TYAcousticSurfaceNodeWidget
virtual ~TYAcousticSurfaceNodeWidget()
Definition:
TYAcousticSurfaceNodeWidget.cpp:99
TYAcousticSurfaceNodeWidget::editAccSurf
void editAccSurf(const int &item)
Definition:
TYAcousticSurfaceNodeWidget.cpp:157
TYAcousticSurfaceNodeWidget::_tableFaces
QTableWidget * _tableFaces
Definition:
TYAcousticSurfaceNodeWidget.h:101
TYAcousticSurfaceNodeWidget::_groupBoxLayout
QGridLayout * _groupBoxLayout
Definition:
TYAcousticSurfaceNodeWidget.h:105
TYAcousticSurfaceNodeWidget::_interW
TYAcousticInterfaceWidget * _interW
Definition:
TYAcousticSurfaceNodeWidget.h:107
TYAcousticSurfaceNodeWidget::contextMenuEvent
virtual void contextMenuEvent(QContextMenuEvent *e)
Definition:
TYAcousticSurfaceNodeWidget.cpp:220
TYAcousticSurfaceNodeWidget::delAccSurf
void delAccSurf(const int &item)
Definition:
TYAcousticSurfaceNodeWidget.cpp:174
TYAcousticSurfaceNodeWidget::_colorW
TYColorInterfaceWidget * _colorW
Definition:
TYAcousticSurfaceNodeWidget.h:109
TYAcousticSurfaceNodeWidget::_acousticSurfacenodeLayout
QGridLayout * _acousticSurfacenodeLayout
Definition:
TYAcousticSurfaceNodeWidget.h:103
TYAcousticSurfaceNodeWidget::TYAcousticSurfaceNodeWidget
TYAcousticSurfaceNodeWidget(TYAcousticSurfaceNode *pElement, QWidget *_pParent=NULL)
Definition:
TYAcousticSurfaceNodeWidget.cpp:41
TYAcousticSurfaceNodeWidget::_groupBox
QGroupBox * _groupBox
Definition:
TYAcousticSurfaceNodeWidget.h:99
TYAcousticSurfaceNode
Definition:
TYAcousticSurfaceNode.h:41
TYColorInterfaceWidget
classe de l'objet IHM pour l'objet ColorInterface
Definition:
TYColorInterfaceWidget.h:46
TYElementWidget
classe de l'objet IHM pour un element
Definition:
TYElementWidget.h:46
TYSurfaceInterfaceWidget
classe de l'objet IHM pour la gestion des objets de type SurfaceInterface
Definition:
TYSurfaceInterfaceWidget.h:45
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