VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtSetMenu.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/DtConfigurableMenu.h
>
15
#include <
vrvCoreQt/DtToolbar.h
>
16
#include <
vrfGuiCoreQt/DtVrfTaskSetMenu.h
>
17
#include <
vrfGuiConstants/vrfMenuIds.h
>
18
19
namespace
makVrf
20
{
21
class
DtVrfTaskSetMenu;
22
23
class
DT_DLL_VRFGUICOREQT
DtSetToolbar
:
public
makVrv::DtToolbar
24
{
25
public
:
26
28
DtSetToolbar
(
makVrv::DtDe
&);
29
31
virtual
~
DtSetToolbar
();
32
34
virtual
QToolBar
* createToolbar(
makVrv::DtDe
&,
QWidget
* parent);
35
36
};
37
38
class
DT_DLL_VRFGUICOREQT
DtSetMenu
:
public
DtConfigurableMenu
39
{
40
public
:
41
43
DtSetMenu
(
makVrv::DtDe
&,
const
std::string& menuIdName =
DtSetMenuId
);
44
46
virtual
~
DtSetMenu
();
47
49
virtual
QMenu
* createMenu(
makVrv::DtDe
&,
QWidget
* parent);
50
51
static
DtSetMenu
& instance(
makVrv::DtDe
&);
52
53
57
static
DtSetMenu
* menuInstance(
makVrv::DtDe
&);
58
59
virtual
DtSetMenu
* newInstance();
60
62
virtual
void
setAllowRecreation(
bool
);
63
65
boost::signal<void (DtSubMenuConfiguration&)>
signal_preCreateConfiguration
;
66
67
protected
:
68
bool
myAllowRecreation
;
69
};
70
72
class
DT_DLL_VRFGUICOREQT
DtRightClickSetMenu
:
public
DtSetMenu
73
{
74
public
:
75
DtRightClickSetMenu
(
makVrv::DtDe
& de);
76
77
protected
:
78
virtual
QMenu
* createMenu(
makVrv::DtDe
& de,
QWidget
* parent );
79
};
80
82
class
DT_DLL_VRFGUICOREQT
DtVrfSetMenu
:
public
DtVrfTaskSetMenu
83
{
84
public
:
86
DtVrfSetMenu
(
const
std::string& className,
const
QString& title,
QWidget
* parent,
makVrv::DtDe
&,
bool
allowRecreation =
false
);
87
89
virtual
~
DtVrfSetMenu
();
90
95
virtual
void
setupMenu(
const
makVrv::DtMenuConfiguration
& initialCreateMenuConfiguration =
makVrv::DtMenuConfiguration
(),
96
bool
useGlobalMenuManager =
false
);
97
98
protected
:
100
virtual
void
recreateMenu();
101
};
102
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)