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-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
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
TYColorInterfaceWidget
;
38
43
class
TYPointControlWidget
:
public
TYWidget
44
{
45
Q_OBJECT
46
47
TY_DECL_METIER_WIDGET
(
TYPointControl
)
48
49
// Methodes
50
public
:
54
TYPointControlWidget
(
TYPointControl
* pElement, QWidget* _pParent = NULL);
58
virtual
~TYPointControlWidget
();
59
63
void
updateComboObject
();
64
65
public
slots:
66
virtual
void
updateContent
();
67
virtual
void
apply
();
68
virtual
void
reject
();
69
73
void
changeObject
(
int
object
);
74
78
void
updateCoord
(
int
selected);
79
80
// Membres
81
protected
:
82
TYPointCalculWidget
*
_ptCalculW
;
83
TYLineEdit
*
_lineEditHauteur
;
84
86
QLabel*
_labelSelectObject
;
87
QComboBox*
_comboBoxSelectObject
;
88
90
QButtonGroup*
_buttonGroupSysCoord
;
91
QLabel*
_labelRepere
;
92
QLineEdit*
_lineEditRepere
;
93
95
TYPointControl
*
_pPointBack
;
96
98
TYColorInterfaceWidget
*
_colorW
;
99
};
100
101
#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:51
TYPointControlWidget
class de l'objet IHM pour un point de controle
Definition:
TYPointControlWidget.h:44
TYPointControlWidget::_pPointBack
TYPointControl * _pPointBack
Copie du point de controle.
Definition:
TYPointControlWidget.h:95
TYPointControlWidget::updateCoord
void updateCoord(int selected)
Definition:
TYPointControlWidget.cpp:213
TYPointControlWidget::_buttonGroupSysCoord
QButtonGroup * _buttonGroupSysCoord
Choix du systeme de coordonnee.
Definition:
TYPointControlWidget.h:90
TYPointControlWidget::_lineEditRepere
QLineEdit * _lineEditRepere
Definition:
TYPointControlWidget.h:92
TYPointControlWidget::_lineEditHauteur
TYLineEdit * _lineEditHauteur
Definition:
TYPointControlWidget.h:83
TYPointControlWidget::_ptCalculW
TYPointCalculWidget * _ptCalculW
Definition:
TYPointControlWidget.h:82
TYPointControlWidget::_colorW
TYColorInterfaceWidget * _colorW
Interface pour la gestion de la couleur.
Definition:
TYPointControlWidget.h:98
TYPointControlWidget::TYPointControlWidget
TYPointControlWidget(TYPointControl *pElement, QWidget *_pParent=NULL)
Definition:
TYPointControlWidget.cpp:39
TYPointControlWidget::updateComboObject
void updateComboObject()
Definition:
TYPointControlWidget.cpp:194
TYPointControlWidget::~TYPointControlWidget
virtual ~TYPointControlWidget()
Definition:
TYPointControlWidget.cpp:136
TYPointControlWidget::reject
virtual void reject()
Definition:
TYPointControlWidget.cpp:186
TYPointControlWidget::updateContent
virtual void updateContent()
Definition:
TYPointControlWidget.cpp:138
TYPointControlWidget::_labelSelectObject
QLabel * _labelSelectObject
Choix de la forme de l'objet.
Definition:
TYPointControlWidget.h:86
TYPointControlWidget::apply
virtual void apply()
Definition:
TYPointControlWidget.cpp:171
TYPointControlWidget::_labelRepere
QLabel * _labelRepere
Definition:
TYPointControlWidget.h:91
TYPointControlWidget::_comboBoxSelectObject
QComboBox * _comboBoxSelectObject
Definition:
TYPointControlWidget.h:87
TYPointControlWidget::changeObject
void changeObject(int object)
Definition:
TYPointControlWidget.cpp:208
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 Feb 2 2026 12:03:42 for Code_TYMPAN by
1.9.1