Code_TYMPAN  4.4.0
Industrial site acoustic simulation
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;
33 class QLineEdit;
34 class QLabel;
35 class QComboBox;
36 class QButtonGroup;
37 class QRadioButton;
39 
45 {
46  Q_OBJECT
47 
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:
85 
89 
91  QButtonGroup* _buttonGroupSysCoord;
92  QLabel* _labelRepere;
93  QLineEdit* _lineEditRepere;
94 
97 
100 };
101 
102 #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