Code_TYMPAN  4.4.0
Industrial site acoustic simulation
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;
51 
57 {
58  Q_OBJECT
59 
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;
117 
121 
123  // QRadioButton* _pRadioButtonSpheric;
124  // QRadioButton* _pRadioButtonHemi;
125  // QRadioButton* _pRadioButtonForce;
126  QButtonGroup* _buttonGroupTypeRaynt;
127 
129  QGridLayout* _groupBoxTypeLayout;
131  QGridLayout* _groupBoxDirLayout;
132 
136 };
137 
138 #endif // __TY_SOURCEPONCTUELLE_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
Definition: TYPointWidget.h:49
classe de l'objet IHM pour une source ponctuelle
QLabel * _labelSelectObject
Choix de la forme de l'objet.
QButtonGroup * _buttonGroupTypeRaynt
Bouton radio pour choisir le type de rayonnement.
TYSourcePonctuelleWidget(TYSourcePonctuelle *pElement, QWidget *_pParent=NULL)
TYColorInterfaceWidget * _colorW
classe de l'objet IHM pour une source
classe de l'objet IHM pour un objet metier de type TYElement
Definition: TYWidget.h:43