Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
app
TYBatimentToolbar.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
28
#ifndef __TY_BATIMENT_TOOLBAR__
29
#define __TY_BATIMENT_TOOLBAR__
30
31
#include <qtoolbar.h>
32
33
class
QMainWindow;
34
class
QToolButton;
35
class
QButtonGroup;
36
41
class
TYBatimentToolbar
:
public
QToolBar
42
{
43
Q_OBJECT
44
45
public
:
50
TYBatimentToolbar
(QButtonGroup* pBtnGroup, QMainWindow* parent = 0, QString title =
""
);
55
virtual
~TYBatimentToolbar
();
56
57
public
slots:
62
void
activeButtons
(
bool
active);
63
64
protected
:
66
QToolButton*
_toolButtonEtage
;
67
69
QToolButton*
_toolButtonSilos
;
70
72
QToolButton*
_toolButtonSource
;
73
};
74
75
#endif
//__TY_BATIMENT_TOOLBAR__
TYBatimentToolbar
Barre d'outils Batiment.
Definition:
TYBatimentToolbar.h:42
TYBatimentToolbar::_toolButtonEtage
QToolButton * _toolButtonEtage
Bouton etage.
Definition:
TYBatimentToolbar.h:66
TYBatimentToolbar::activeButtons
void activeButtons(bool active)
Active/Desactive chaque boutons.
Definition:
TYBatimentToolbar.cpp:70
TYBatimentToolbar::_toolButtonSilos
QToolButton * _toolButtonSilos
Bouton silos.
Definition:
TYBatimentToolbar.h:69
TYBatimentToolbar::TYBatimentToolbar
TYBatimentToolbar(QButtonGroup *pBtnGroup, QMainWindow *parent=0, QString title="")
Constructeur par defaut.
Definition:
TYBatimentToolbar.cpp:32
TYBatimentToolbar::_toolButtonSource
QToolButton * _toolButtonSource
Bouton source ponctuelle.
Definition:
TYBatimentToolbar.h:72
TYBatimentToolbar::~TYBatimentToolbar
virtual ~TYBatimentToolbar()
Destructeur.
Definition:
TYBatimentToolbar.cpp:68
Generated on Mon Nov 27 2023 07:56:31 for Code_TYMPAN by
1.9.1