Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYProjetWidget.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
28
#ifndef __TY_PROJET_WIDGET__
29
#define __TY_PROJET_WIDGET__
30
31
#include "
TYWidget.h
"
32
// Added by qt3to4:
33
#include <QGridLayout>
34
#include <QLabel>
35
36
class
TYProjet
;
37
class
TYLineEdit
;
38
class
QLineEdit;
39
class
QGridLayout;
40
class
QLabel;
41
class
QTreeWidget;
42
class
QTreeWidgetItem;
43
class
QGroupBox;
44
class
QPushButton;
45
class
QTextEdit;
46
class
QDateEdit;
47
class
TYElementWidget
;
48
class
QCheckBox;
49
class
QTabWidget;
50
class
QTableWidget;
51
56
class
TYProjetWidget
:
public
TYWidget
57
{
58
Q_OBJECT
59
60
TY_DECL_METIER_WIDGET
(
TYProjet
)
61
62
// Methodes
63
public
:
67
TYProjetWidget
(
TYProjet
* pElement, QWidget* _pParent = NULL);
71
virtual
~TYProjetWidget
();
72
73
public
slots:
74
virtual
void
updateContent
();
75
virtual
void
apply
();
76
80
void
editCurCalcul
();
84
void
editSite
();
85
89
virtual
void
contextMenuEvent
(QContextMenuEvent* e);
90
96
void
editCalcul
(QTreeWidgetItem* item);
97
101
void
updateDefault
();
102
103
private
:
104
void
updateControlPointsTab
();
105
void
updateNoiseMapsTab
();
106
107
// Membres
108
protected
:
109
QGridLayout*
_projetLayout
;
110
111
QGroupBox*
_groupBox
;
112
QLabel*
_labelAuteur
;
113
QLineEdit*
_lineEditAuteur
;
114
QLabel*
_labelDateCreation
;
115
QDateEdit*
_editDateCreation
;
116
QLabel*
_labelDateModif
;
117
QDateEdit*
_editDateModif
;
118
QLabel*
_labelComment
;
119
QTextEdit*
_lineEditComment
;
120
121
QPushButton*
_pushButtonSite
;
122
QGroupBox*
_groupBoxSite
;
123
QLineEdit*
_lineEditNomSite
;
124
QLabel*
_labelDistMax
;
125
TYLineEdit
*
_lineEditDistMax
;
126
QLabel*
_labelDelaunayTolerence
;
127
TYLineEdit
*
_lineEditDelaunayTolerence
;
128
QLabel*
_labelUseDefault
;
129
QPushButton*
_pushButtonUseDefault
;
130
131
QGroupBox*
_groupBoxCurCalcul
;
132
QLineEdit*
_lineEditNomCurCalcul
;
133
QPushButton*
_pushButtonCurCalcul
;
134
135
QGroupBox*
_groupBoxTab
;
136
QTreeWidget*
_listViewTabCalcul
;
137
138
// Use of tabs
139
QTabWidget*
_tabWidget
;
140
141
// Table des points de controle
142
QTableWidget*
_tableauPointsControle
;
143
145
QTableWidget*
_tableauMaillages
;
146
147
TYElementWidget
*
_elmW
;
148
};
149
150
#endif
// __TY_PROJET_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
TYElementWidget
classe de l'objet IHM pour un element
Definition:
TYElementWidget.h:46
TYLineEdit
Definition:
TYLineEdit.h:33
TYProjetWidget
classe de l'objet IHM pour un objet
Definition:
TYProjetWidget.h:57
TYProjetWidget::_lineEditDelaunayTolerence
TYLineEdit * _lineEditDelaunayTolerence
Definition:
TYProjetWidget.h:127
TYProjetWidget::_labelDelaunayTolerence
QLabel * _labelDelaunayTolerence
Definition:
TYProjetWidget.h:126
TYProjetWidget::updateNoiseMapsTab
void updateNoiseMapsTab()
Definition:
TYProjetWidget.cpp:292
TYProjetWidget::_groupBoxCurCalcul
QGroupBox * _groupBoxCurCalcul
Definition:
TYProjetWidget.h:131
TYProjetWidget::contextMenuEvent
virtual void contextMenuEvent(QContextMenuEvent *e)
Definition:
TYProjetWidget.cpp:432
TYProjetWidget::_lineEditAuteur
QLineEdit * _lineEditAuteur
Definition:
TYProjetWidget.h:113
TYProjetWidget::editCurCalcul
void editCurCalcul()
Definition:
TYProjetWidget.cpp:390
TYProjetWidget::apply
virtual void apply()
Definition:
TYProjetWidget.cpp:319
TYProjetWidget::_listViewTabCalcul
QTreeWidget * _listViewTabCalcul
Definition:
TYProjetWidget.h:136
TYProjetWidget::_groupBox
QGroupBox * _groupBox
Definition:
TYProjetWidget.h:111
TYProjetWidget::_lineEditNomSite
QLineEdit * _lineEditNomSite
Definition:
TYProjetWidget.h:123
TYProjetWidget::_labelAuteur
QLabel * _labelAuteur
Definition:
TYProjetWidget.h:112
TYProjetWidget::_labelDistMax
QLabel * _labelDistMax
Definition:
TYProjetWidget.h:124
TYProjetWidget::_tabWidget
QTabWidget * _tabWidget
Definition:
TYProjetWidget.h:139
TYProjetWidget::_tableauPointsControle
QTableWidget * _tableauPointsControle
Definition:
TYProjetWidget.h:142
TYProjetWidget::_elmW
TYElementWidget * _elmW
Definition:
TYProjetWidget.h:147
TYProjetWidget::_labelUseDefault
QLabel * _labelUseDefault
Definition:
TYProjetWidget.h:128
TYProjetWidget::editSite
void editSite()
Definition:
TYProjetWidget.cpp:400
TYProjetWidget::_labelDateModif
QLabel * _labelDateModif
Definition:
TYProjetWidget.h:116
TYProjetWidget::_editDateCreation
QDateEdit * _editDateCreation
Definition:
TYProjetWidget.h:115
TYProjetWidget::_lineEditComment
QTextEdit * _lineEditComment
Definition:
TYProjetWidget.h:119
TYProjetWidget::_groupBoxSite
QGroupBox * _groupBoxSite
Definition:
TYProjetWidget.h:122
TYProjetWidget::_labelComment
QLabel * _labelComment
Definition:
TYProjetWidget.h:118
TYProjetWidget::_editDateModif
QDateEdit * _editDateModif
Definition:
TYProjetWidget.h:117
TYProjetWidget::_pushButtonSite
QPushButton * _pushButtonSite
Definition:
TYProjetWidget.h:121
TYProjetWidget::_groupBoxTab
QGroupBox * _groupBoxTab
Definition:
TYProjetWidget.h:135
TYProjetWidget::updateDefault
void updateDefault()
Definition:
TYProjetWidget.cpp:426
TYProjetWidget::_projetLayout
QGridLayout * _projetLayout
Definition:
TYProjetWidget.h:109
TYProjetWidget::_tableauMaillages
QTableWidget * _tableauMaillages
Onglet des points de controle.
Definition:
TYProjetWidget.h:145
TYProjetWidget::_pushButtonUseDefault
QPushButton * _pushButtonUseDefault
Definition:
TYProjetWidget.h:129
TYProjetWidget::editCalcul
void editCalcul(QTreeWidgetItem *item)
Definition:
TYProjetWidget.cpp:410
TYProjetWidget::_pushButtonCurCalcul
QPushButton * _pushButtonCurCalcul
Definition:
TYProjetWidget.h:133
TYProjetWidget::_lineEditNomCurCalcul
QLineEdit * _lineEditNomCurCalcul
Definition:
TYProjetWidget.h:132
TYProjetWidget::updateControlPointsTab
void updateControlPointsTab()
Definition:
TYProjetWidget.cpp:254
TYProjetWidget::~TYProjetWidget
virtual ~TYProjetWidget()
Definition:
TYProjetWidget.cpp:210
TYProjetWidget::updateContent
virtual void updateContent()
Definition:
TYProjetWidget.cpp:212
TYProjetWidget::TYProjetWidget
TYProjetWidget(TYProjet *pElement, QWidget *_pParent=NULL)
Definition:
TYProjetWidget.cpp:41
TYProjetWidget::_labelDateCreation
QLabel * _labelDateCreation
Definition:
TYProjetWidget.h:114
TYProjetWidget::_lineEditDistMax
TYLineEdit * _lineEditDistMax
Definition:
TYProjetWidget.h:125
TYProjet
classe de definition d'un projet.
Definition:
TYProjet.h:45
TYWidget
classe de l'objet IHM pour un objet metier de type TYElement
Definition:
TYWidget.h:43
Generated on Mon Nov 27 2023 07:56:32 for Code_TYMPAN by
1.9.1