Code_TYMPAN  4.4.0
Industrial site acoustic simulation
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;
33 class QLineEdit;
34 class QLabel;
35 class QComboBox;
36 class QButtonGroup;
38 
44 {
45  Q_OBJECT
46 
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:
84 
88 
90  QButtonGroup* _buttonGroupSysCoord;
91  QLabel* _labelRepere;
92  QLineEdit* _lineEditRepere;
93 
96 
99 };
100 
101 #endif // __TY_POINT_CONTROL_WIDGET__
outil IHM pour un objet metier de type TYElement (fichier header)
#define TY_DECL_METIER_WIDGET(classname)
Definition: TYWidget.h:31
classe de l'objet IHM pour l'objet ColorInterface
classe de l'objet IHM pour un point de calcul
class de l'objet IHM pour un point de controle
TYPointControl * _pPointBack
Copie du point de controle.
void updateCoord(int selected)
QButtonGroup * _buttonGroupSysCoord
Choix du systeme de coordonnee.
TYPointCalculWidget * _ptCalculW
TYColorInterfaceWidget * _colorW
Interface pour la gestion de la couleur.
TYPointControlWidget(TYPointControl *pElement, QWidget *_pParent=NULL)
QLabel * _labelSelectObject
Choix de la forme de l'objet.
Classe de definition d'un point de controle.Le point de controle est un point de calcul avec une haut...
classe de l'objet IHM pour un objet metier de type TYElement
Definition: TYWidget.h:43