VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCoreQt
DtIgToolBar.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtIgToolBar.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtIgToolBar_H_
14
#define DtIgToolBar_H_
15
16
#include <
vrvCoreQt/vrvCoreQt.h
>
17
18
#include <QtWidgets/QToolBar>
19
20
namespace
makVrv
21
{
22
25
class
DT_DLL_VRVCOREQT
DtIgToolBar
:
public
QToolBar
26
{
27
Q_OBJECT
28
29
public
:
30
32
DtIgToolBar
(
const
QString& name,
QWidget
* parent)
33
:
QToolBar
(name, parent)
34
{
35
}
36
37
virtual
~
DtIgToolBar
()
38
{
39
}
40
41
signals:
42
void
visibilityChanged(
bool
);
43
44
protected
:
45
virtual
void
hideEvent(QHideEvent* e)
46
{
47
QToolBar::hideEvent(e);
48
emit visibilityChanged(
false
);
49
}
50
51
virtual
void
showEvent(QShowEvent* e)
52
{
53
QToolBar::showEvent(e);
54
emit visibilityChanged(
true
);
55
}
56
};
57
}
58
59
#endif
60
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)