Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
widgets
TYPointControlWidget.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
22
#ifndef __TY_POINT_CONTROL_WIDGET__
23
#define __TY_POINT_CONTROL_WIDGET__
24
25
// Added by qt3to4:
26
#include <QLabel>
27
28
#include "
TYWidget.h
"
29
30
class
TYPointControl
;
31
class
TYLineEdit
;
32
class
TYPointCalculWidget
;
33
class
QLineEdit;
34
class
QLabel;
35
class
QComboBox;
36
class
QButtonGroup;
37
class
QRadioButton;
38
class
TYColorInterfaceWidget
;
39
44
class
TYPointControlWidget
:
public
TYWidget
45
{
46
Q_OBJECT
47
48
TY_DECL_METIER_WIDGET
(
TYPointControl
)
49
50
// Methodes
51
public
:
55
TYPointControlWidget
(
TYPointControl
* pElement, QWidget* _pParent = NULL);
59
virtual
~TYPointControlWidget
();
60
64
void
updateComboObject
();
65
66
public
slots:
67
virtual
void
updateContent
();
68
virtual
void
apply
();
69
virtual
void
reject
();
70
74
void
changeObject
(
int
object
);
75
79
void
updateCoord
(
int
selected);
80
81
// Membres
82
protected
:
83
TYPointCalculWidget
*
_ptCalculW
;
84
TYLineEdit
*
_lineEditHauteur
;
85
87
QLabel*
_labelSelectObject
;
88
QComboBox*
_comboBoxSelectObject
;
89
91
QButtonGroup*
_buttonGroupSysCoord
;
92
QLabel*
_labelRepere
;
93
QLineEdit*
_lineEditRepere
;
94
96
TYPointControl
*
_pPointBack
;
97
99
TYColorInterfaceWidget
*
_colorW
;
100
};
101
102
#endif
// __TY_POINT_CONTROL_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
TYPointCalculWidget
classe de l'objet IHM pour un point de calcul
Definition:
TYPointCalculWidget.h:53
TYPointControlWidget
class de l'objet IHM pour un point de controle
Definition:
TYPointControlWidget.h:45
TYPointControlWidget::_pPointBack
TYPointControl * _pPointBack
Copie du point de controle.
Definition:
TYPointControlWidget.h:96
TYPointControlWidget::updateCoord
void updateCoord(int selected)
Definition:
TYPointControlWidget.cpp:212
TYPointControlWidget::_buttonGroupSysCoord
QButtonGroup * _buttonGroupSysCoord
Choix du systeme de coordonnee.
Definition:
TYPointControlWidget.h:91
TYPointControlWidget::_lineEditRepere
QLineEdit * _lineEditRepere
Definition:
TYPointControlWidget.h:93
TYPointControlWidget::_lineEditHauteur
TYLineEdit * _lineEditHauteur
Definition:
TYPointControlWidget.h:84
TYPointControlWidget::_ptCalculW
TYPointCalculWidget * _ptCalculW
Definition:
TYPointControlWidget.h:83
TYPointControlWidget::_colorW
TYColorInterfaceWidget * _colorW
Interface pour la gestion de la couleur.
Definition:
TYPointControlWidget.h:99
TYPointControlWidget::TYPointControlWidget
TYPointControlWidget(TYPointControl *pElement, QWidget *_pParent=NULL)
Definition:
TYPointControlWidget.cpp:38
TYPointControlWidget::updateComboObject
void updateComboObject()
Definition:
TYPointControlWidget.cpp:193
TYPointControlWidget::~TYPointControlWidget
virtual ~TYPointControlWidget()
Definition:
TYPointControlWidget.cpp:135
TYPointControlWidget::reject
virtual void reject()
Definition:
TYPointControlWidget.cpp:185
TYPointControlWidget::updateContent
virtual void updateContent()
Definition:
TYPointControlWidget.cpp:137
TYPointControlWidget::_labelSelectObject
QLabel * _labelSelectObject
Choix de la forme de l'objet.
Definition:
TYPointControlWidget.h:87
TYPointControlWidget::apply
virtual void apply()
Definition:
TYPointControlWidget.cpp:170
TYPointControlWidget::_labelRepere
QLabel * _labelRepere
Definition:
TYPointControlWidget.h:92
TYPointControlWidget::_comboBoxSelectObject
QComboBox * _comboBoxSelectObject
Definition:
TYPointControlWidget.h:88
TYPointControlWidget::changeObject
void changeObject(int object)
Definition:
TYPointControlWidget.cpp:207
TYPointControl
Classe de definition d'un point de controle.Le point de controle est un point de calcul avec une haut...
Definition:
TYPointControl.h:32
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