Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYTopoToolbar.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 
21 #ifndef __TY_TOPO_TOOLBAR__
22 #define __TY_TOPO_TOOLBAR__
23 
24 #include <qtoolbar.h>
25 
26 class QMainWindow;
27 class QToolButton;
28 class QButtonGroup;
29 
34 class TYTopoToolbar : public QToolBar
35 {
36  Q_OBJECT
37 
38 public:
42  TYTopoToolbar(QButtonGroup* pBtnGroup, QMainWindow* parent = 0, QString title = "");
46  virtual ~TYTopoToolbar();
47 
48 public slots:
52  void activeButtons(bool active);
53 
54 protected:
56  QToolButton* _toolButtonEchelle;
58  QToolButton* _toolButtonPtRef;
60  QToolButton* _toolButtonOrientation;
62  QToolButton* _toolButtonEmprise;
64  QToolButton* _toolButtonCrbNiv;
66  QToolButton* _toolButtonTerrain;
68  QToolButton* _toolButtonPlanEau;
70  QToolButton* _toolButtonCrsEau;
71 };
72 
73 #endif //__TY_TOPO_TOOLBAR__
Barre d'outils topographie.
Definition: TYTopoToolbar.h:35
QToolButton * _toolButtonOrientation
Bouton orientation.
Definition: TYTopoToolbar.h:60
QToolButton * _toolButtonCrsEau
Bouton cours d'eau.
Definition: TYTopoToolbar.h:70
QToolButton * _toolButtonTerrain
Bouton terrain.
Definition: TYTopoToolbar.h:66
QToolButton * _toolButtonEmprise
Bouton emprise.
Definition: TYTopoToolbar.h:62
QToolButton * _toolButtonPtRef
Bouton point de reference.
Definition: TYTopoToolbar.h:58
virtual ~TYTopoToolbar()
QToolButton * _toolButtonCrbNiv
Bouton courbe de niveau.
Definition: TYTopoToolbar.h:64
void activeButtons(bool active)
QToolButton * _toolButtonPlanEau
Bouton plan d'eau.
Definition: TYTopoToolbar.h:68
TYTopoToolbar(QButtonGroup *pBtnGroup, QMainWindow *parent=0, QString title="")
QToolButton * _toolButtonEchelle
Bouton echelle.
Definition: TYTopoToolbar.h:56