Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYEtatsWidget.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_ETATS_WIDGET__
28
#define __TY_ETATS_WIDGET__
29
30
#include "
TYWidget.h
"
31
#include <qdialog.h>
32
// Added by qt3to4:
33
#include <QGridLayout>
34
#include <QLabel>
35
36
#include <vector>
37
using
std::vector;
38
typedef
vector<TYElement*>
tabPtrElement
;
39
40
class
TYCalcul
;
41
class
TYElementWidget
;
42
class
QTableWidget;
43
class
QTabWidget;
44
49
class
TYEtatsWidget
:
public
QDialog
50
{
51
Q_OBJECT
52
53
public
:
57
TYEtatsWidget
(
TYCalcul
* pElement, QWidget* _pParent
/*=NULL*/
);
58
62
virtual
~TYEtatsWidget
();
63
64
public
slots:
65
virtual
void
updateContent
();
66
virtual
void
apply
();
67
71
virtual
void
contextMenuEvent
(QContextMenuEvent* e);
72
73
signals:
78
void
modified
();
79
80
private
:
81
TYCalcul
*
_pElement
;
82
TYElementWidget
*
_elmW
;
83
84
QTabWidget*
_tabWidget
;
85
86
QTableWidget*
_tableSource
;
87
tabPtrElement
_tabPtrSourcePonctuelle
;
// Permet de memoriser l'element associe a la ligne dans le tableau
88
89
QTableWidget*
_tableMachine
;
90
tabPtrElement
_tabPtrMachine
;
// Permet de memoriser l'element associe a la ligne dans le tableau
91
92
QTableWidget*
_tableBatiment
;
93
tabPtrElement
_tabPtrBatiment
;
// Permet de memoriser l'element associe a la ligne dans le tableau
94
95
QTableWidget*
_tableSourceLin
;
96
tabPtrElement
_tabPtrSourceLin
;
// Permet de memoriser l'element associe a la ligne dans le tableau
97
};
98
99
#endif
// __TY_ETATS_WIDGET__
tabPtrElement
vector< TYElement * > tabPtrElement
Definition:
TYCalculWidget.h:40
tabPtrElement
vector< TYElement * > tabPtrElement
Definition:
TYEtatsWidget.h:38
TYWidget.h
outil IHM pour un objet metier de type TYElement (fichier header)
TYCalcul
Calculation program.
Definition:
TYCalcul.h:50
TYElementWidget
classe de l'objet IHM pour un element
Definition:
TYElementWidget.h:46
TYEtatsWidget
classe de l'outil IHM pour les Etats
Definition:
TYEtatsWidget.h:50
TYEtatsWidget::_tabPtrMachine
tabPtrElement _tabPtrMachine
Definition:
TYEtatsWidget.h:90
TYEtatsWidget::~TYEtatsWidget
virtual ~TYEtatsWidget()
Definition:
TYEtatsWidget.cpp:129
TYEtatsWidget::_tabPtrSourcePonctuelle
tabPtrElement _tabPtrSourcePonctuelle
Definition:
TYEtatsWidget.h:87
TYEtatsWidget::contextMenuEvent
virtual void contextMenuEvent(QContextMenuEvent *e)
Definition:
TYEtatsWidget.cpp:422
TYEtatsWidget::_tabPtrSourceLin
tabPtrElement _tabPtrSourceLin
Definition:
TYEtatsWidget.h:96
TYEtatsWidget::_tabPtrBatiment
tabPtrElement _tabPtrBatiment
Definition:
TYEtatsWidget.h:93
TYEtatsWidget::_pElement
TYCalcul * _pElement
Definition:
TYEtatsWidget.h:81
TYEtatsWidget::TYEtatsWidget
TYEtatsWidget(TYCalcul *pElement, QWidget *_pParent)
Definition:
TYEtatsWidget.cpp:46
TYEtatsWidget::apply
virtual void apply()
Definition:
TYEtatsWidget.cpp:291
TYEtatsWidget::_tableSourceLin
QTableWidget * _tableSourceLin
Definition:
TYEtatsWidget.h:95
TYEtatsWidget::_tableBatiment
QTableWidget * _tableBatiment
Definition:
TYEtatsWidget.h:92
TYEtatsWidget::updateContent
virtual void updateContent()
Definition:
TYEtatsWidget.cpp:131
TYEtatsWidget::_tableSource
QTableWidget * _tableSource
Definition:
TYEtatsWidget.h:86
TYEtatsWidget::_tabWidget
QTabWidget * _tabWidget
Definition:
TYEtatsWidget.h:84
TYEtatsWidget::_elmW
TYElementWidget * _elmW
Definition:
TYEtatsWidget.h:82
TYEtatsWidget::modified
void modified()
TYEtatsWidget::_tableMachine
QTableWidget * _tableMachine
Definition:
TYEtatsWidget.h:89
Generated on Thu Feb 19 2026 09:05:52 for Code_TYMPAN by
1.9.1