VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCoreQt
DtToolbarItem.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtToolbarItem.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCoreQt/vrvCoreQt.h
>
15
#include <
vrvCoreQt/DtMenuItem.h
>
16
17
namespace
makVrv
18
{
19
class
DtToolbar;
20
25
class
DT_DLL_VRVCOREQT
DtToolbarItem
:
public
DtMenuItem
26
{
27
Q_OBJECT
28
29
public
:
31
DtToolbarItem
(
const
std::string& dockName,
DtToolbar
* dockable);
32
34
virtual
~
DtToolbarItem
();
35
37
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
38
39
protected
:
40
42
virtual
void
on_triggered();
43
45
virtual
void
on_checkStateChanged(
bool
);
46
48
virtual
bool
eventFilter(
QObject
*obj, QEvent *event);
49
52
virtual
void
slot_toolbarSet();
53
54
protected
:
55
DtToolbar
*
myToolbar
;
56
QAction
*
myAction
;
57
};
58
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)