Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYSourcePonctuelleWidget.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_SOURCEPONCTUELLE_WIDGET__
28
#define __TY_SOURCEPONCTUELLE_WIDGET__
29
30
#include "
TYWidget.h
"
31
// Added by qt3to4:
32
#include <QGridLayout>
33
#include <QLabel>
34
35
class
TYSourcePonctuelle
;
36
class
TYLineEdit
;
37
class
QLineEdit;
38
class
QGridLayout;
39
class
QLabel;
40
class
QTreeWidget;
41
class
QGroupBox;
42
class
QPushButton;
43
class
QTreeWidgetItem;
44
class
QCheckBox;
45
class
QComboBox;
46
class
QButtonGroup;
47
class
QRadioButton;
48
class
TYSourceWidget
;
49
class
TYPointWidget
;
50
class
TYColorInterfaceWidget
;
51
56
class
TYSourcePonctuelleWidget
:
public
TYWidget
57
{
58
Q_OBJECT
59
60
TY_DECL_METIER_WIDGET
(
TYSourcePonctuelle
)
61
62
// Methodes
63
public
:
67
TYSourcePonctuelleWidget
(
TYSourcePonctuelle
* pElement, QWidget* _pParent = NULL);
71
virtual
~TYSourcePonctuelleWidget
();
72
76
void
updateComboObject
();
77
78
signals:
82
// void typeRayntChanged(int typeRaynt);
83
84
public
slots:
85
virtual
void
updateContent
();
86
virtual
void
apply
();
87
91
void
editPosition
();
92
96
void
updateDir
();
97
101
// void changeTypeRaynt(int id);
102
106
void
changeObject
(
int
object
);
107
108
// Membres
109
protected
:
110
QGroupBox*
_groupBoxType
;
111
// QLabel* _labelTypeRaynt;
112
QGroupBox*
_groupBoxPosition
;
113
114
QPushButton*
_pushButtonPosition
;
115
QLineEdit*
_lineEditNomPosition
;
116
TYLineEdit
*
_pLineEditHauteur
;
117
119
QLabel*
_labelSelectObject
;
120
QComboBox*
_comboBoxSelectObject
;
121
123
// QRadioButton* _pRadioButtonSpheric;
124
// QRadioButton* _pRadioButtonHemi;
125
// QRadioButton* _pRadioButtonForce;
126
QButtonGroup*
_buttonGroupTypeRaynt
;
127
128
QGridLayout*
_sourcePonctuelleLayout
;
129
QGridLayout*
_groupBoxTypeLayout
;
130
QGridLayout*
_groupBoxPositionLayout
;
131
QGridLayout*
_groupBoxDirLayout
;
132
133
TYSourceWidget
*
_elmW
;
134
TYPointWidget
*
_pPointW
;
135
TYColorInterfaceWidget
*
_colorW
;
136
};
137
138
#endif
// __TY_SOURCEPONCTUELLE_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
TYColorInterfaceWidget
classe de l'objet IHM pour l'objet ColorInterface
Definition:
TYColorInterfaceWidget.h:46
TYLineEdit
Definition:
TYLineEdit.h:33
TYPointWidget
classe de l'objet IHM pour un point
Definition:
TYPointWidget.h:49
TYSourcePonctuelleWidget
classe de l'objet IHM pour une source ponctuelle
Definition:
TYSourcePonctuelleWidget.h:57
TYSourcePonctuelleWidget::_groupBoxPositionLayout
QGridLayout * _groupBoxPositionLayout
Definition:
TYSourcePonctuelleWidget.h:130
TYSourcePonctuelleWidget::_labelSelectObject
QLabel * _labelSelectObject
Choix de la forme de l'objet.
Definition:
TYSourcePonctuelleWidget.h:119
TYSourcePonctuelleWidget::_pPointW
TYPointWidget * _pPointW
Definition:
TYSourcePonctuelleWidget.h:134
TYSourcePonctuelleWidget::_groupBoxTypeLayout
QGridLayout * _groupBoxTypeLayout
Definition:
TYSourcePonctuelleWidget.h:129
TYSourcePonctuelleWidget::_comboBoxSelectObject
QComboBox * _comboBoxSelectObject
Definition:
TYSourcePonctuelleWidget.h:120
TYSourcePonctuelleWidget::_buttonGroupTypeRaynt
QButtonGroup * _buttonGroupTypeRaynt
Bouton radio pour choisir le type de rayonnement.
Definition:
TYSourcePonctuelleWidget.h:126
TYSourcePonctuelleWidget::~TYSourcePonctuelleWidget
virtual ~TYSourcePonctuelleWidget()
Definition:
TYSourcePonctuelleWidget.cpp:133
TYSourcePonctuelleWidget::_sourcePonctuelleLayout
QGridLayout * _sourcePonctuelleLayout
Definition:
TYSourcePonctuelleWidget.h:128
TYSourcePonctuelleWidget::updateComboObject
void updateComboObject()
Definition:
TYSourcePonctuelleWidget.cpp:135
TYSourcePonctuelleWidget::_groupBoxPosition
QGroupBox * _groupBoxPosition
Definition:
TYSourcePonctuelleWidget.h:112
TYSourcePonctuelleWidget::apply
virtual void apply()
Definition:
TYSourcePonctuelleWidget.cpp:199
TYSourcePonctuelleWidget::TYSourcePonctuelleWidget
TYSourcePonctuelleWidget(TYSourcePonctuelle *pElement, QWidget *_pParent=NULL)
Definition:
TYSourcePonctuelleWidget.cpp:38
TYSourcePonctuelleWidget::_groupBoxDirLayout
QGridLayout * _groupBoxDirLayout
Definition:
TYSourcePonctuelleWidget.h:131
TYSourcePonctuelleWidget::changeObject
void changeObject(int object)
Definition:
TYSourcePonctuelleWidget.cpp:228
TYSourcePonctuelleWidget::_pushButtonPosition
QPushButton * _pushButtonPosition
Definition:
TYSourcePonctuelleWidget.h:114
TYSourcePonctuelleWidget::_elmW
TYSourceWidget * _elmW
Definition:
TYSourcePonctuelleWidget.h:133
TYSourcePonctuelleWidget::_groupBoxType
QGroupBox * _groupBoxType
Definition:
TYSourcePonctuelleWidget.h:110
TYSourcePonctuelleWidget::_lineEditNomPosition
QLineEdit * _lineEditNomPosition
Definition:
TYSourcePonctuelleWidget.h:115
TYSourcePonctuelleWidget::_pLineEditHauteur
TYLineEdit * _pLineEditHauteur
Definition:
TYSourcePonctuelleWidget.h:116
TYSourcePonctuelleWidget::editPosition
void editPosition()
Definition:
TYSourcePonctuelleWidget.cpp:213
TYSourcePonctuelleWidget::_colorW
TYColorInterfaceWidget * _colorW
Definition:
TYSourcePonctuelleWidget.h:135
TYSourcePonctuelleWidget::updateContent
virtual void updateContent()
Definition:
TYSourcePonctuelleWidget.cpp:149
TYSourcePonctuelleWidget::updateDir
void updateDir()
Definition:
TYSourcePonctuelleWidget.cpp:197
TYSourcePonctuelle
Definition:
TYSourcePonctuelle.h:52
TYSourceWidget
classe de l'objet IHM pour une source
Definition:
TYSourceWidget.h:48
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