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> <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
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
QLineEdit;
42
class
QGridLayout;
43
class
QLabel;
44
class
QGroupBox;
45
class
QPushButton;
46
class
QCheckBox;
47
class
QPoint;
48
class
QTextEdit;
49
class
QDateEdit;
50
class
TYElementWidget
;
51
class
QTableWidget;
52
class
QTabWidget;
53
class
QRadioButton;
54
59
class
TYEtatsWidget
:
public
QDialog
60
{
61
Q_OBJECT
62
63
public
:
67
TYEtatsWidget
(
TYCalcul
* pElement, QWidget* _pParent
/*=NULL*/
);
68
72
virtual
~TYEtatsWidget
();
73
74
public
slots:
75
virtual
void
updateContent
();
76
virtual
void
apply
();
77
81
virtual
void
contextMenuEvent
(QContextMenuEvent* e);
82
83
signals:
88
void
modified
();
89
90
private
:
91
TYCalcul
*
_pElement
;
92
TYElementWidget
*
_elmW
;
93
94
QTabWidget*
_tabWidget
;
95
96
QTableWidget*
_tableSource
;
97
tabPtrElement
_tabPtrSourcePonctuelle
;
// Permet de memoriser l'element associe a la ligne dans le tableau
98
99
QTableWidget*
_tableMachine
;
100
tabPtrElement
_tabPtrMachine
;
// Permet de memoriser l'element associe a la ligne dans le tableau
101
102
QTableWidget*
_tableBatiment
;
103
tabPtrElement
_tabPtrBatiment
;
// Permet de memoriser l'element associe a la ligne dans le tableau
104
105
QTableWidget*
_tableSourceLin
;
106
tabPtrElement
_tabPtrSourceLin
;
// Permet de memoriser l'element associe a la ligne dans le tableau
107
};
108
109
#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:60
TYEtatsWidget::_tabPtrMachine
tabPtrElement _tabPtrMachine
Definition:
TYEtatsWidget.h:100
TYEtatsWidget::~TYEtatsWidget
virtual ~TYEtatsWidget()
Definition:
TYEtatsWidget.cpp:127
TYEtatsWidget::_tabPtrSourcePonctuelle
tabPtrElement _tabPtrSourcePonctuelle
Definition:
TYEtatsWidget.h:97
TYEtatsWidget::contextMenuEvent
virtual void contextMenuEvent(QContextMenuEvent *e)
Definition:
TYEtatsWidget.cpp:420
TYEtatsWidget::_tabPtrSourceLin
tabPtrElement _tabPtrSourceLin
Definition:
TYEtatsWidget.h:106
TYEtatsWidget::_tabPtrBatiment
tabPtrElement _tabPtrBatiment
Definition:
TYEtatsWidget.h:103
TYEtatsWidget::_pElement
TYCalcul * _pElement
Definition:
TYEtatsWidget.h:91
TYEtatsWidget::TYEtatsWidget
TYEtatsWidget(TYCalcul *pElement, QWidget *_pParent)
Definition:
TYEtatsWidget.cpp:44
TYEtatsWidget::apply
virtual void apply()
Definition:
TYEtatsWidget.cpp:289
TYEtatsWidget::_tableSourceLin
QTableWidget * _tableSourceLin
Definition:
TYEtatsWidget.h:105
TYEtatsWidget::_tableBatiment
QTableWidget * _tableBatiment
Definition:
TYEtatsWidget.h:102
TYEtatsWidget::updateContent
virtual void updateContent()
Definition:
TYEtatsWidget.cpp:129
TYEtatsWidget::_tableSource
QTableWidget * _tableSource
Definition:
TYEtatsWidget.h:96
TYEtatsWidget::_tabWidget
QTabWidget * _tabWidget
Definition:
TYEtatsWidget.h:94
TYEtatsWidget::_elmW
TYElementWidget * _elmW
Definition:
TYEtatsWidget.h:92
TYEtatsWidget::modified
void modified()
TYEtatsWidget::_tableMachine
QTableWidget * _tableMachine
Definition:
TYEtatsWidget.h:99
Generated on Mon Nov 27 2023 07:56:32 for Code_TYMPAN by
1.9.1