VR-Forces 4.3.1 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
vrfGuiCoreQt
setMenu.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/configurableMenu.h
>
15
#include <
vrvCoreQt/DtToolbar.h
>
16
#include <
vrfGuiCoreQt/vrfTaskSetMenu.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
41
class
DT_DLL_VRFGUICOREQT
DtSetMenu
:
public
DtConfigurableMenu
42
{
43
public
:
44
46
DtSetMenu
(
makVrv::DtDe
&,
const
std::string& menuIdName =
DtSetMenuId
);
47
49
virtual
~
DtSetMenu
();
50
52
virtual
QMenu
* createMenu(
makVrv::DtDe
&,
QWidget
* parent);
53
54
static
DtSetMenu
& instance(
makVrv::DtDe
&);
55
56
60
static
DtSetMenu
* menuInstance(
makVrv::DtDe
&);
61
62
virtual
DtSetMenu
* newInstance();
63
65
virtual
void
setAllowRecreation(
bool
);
66
68
boost::signal<void (DtSubMenuConfiguration&)>
signal_preCreateConfiguration
;
69
70
protected
:
71
bool
myAllowRecreation
;
72
};
73
75
class
DT_DLL_VRFGUICOREQT
DtRightClickSetMenu
:
public
DtSetMenu
76
{
77
public
:
78
DtRightClickSetMenu
(
makVrv::DtDe
& de);
79
80
protected
:
81
virtual
QMenu
* createMenu(
makVrv::DtDe
& de,
QWidget
* parent );
82
};
83
85
class
DT_DLL_VRFGUICOREQT
DtVrfSetMenu
:
public
DtVrfTaskSetMenu
86
{
87
public
:
89
DtVrfSetMenu
(
const
std::string& className,
const
QString& title,
QWidget
* parent,
makVrv::DtDe
&,
bool
allowRecreation =
false
);
90
92
virtual
~
DtVrfSetMenu
();
93
98
virtual
void
setupMenu(
const
makVrv::DtMenuConfiguration
& initialCreateMenuConfiguration =
makVrv::DtMenuConfiguration
(),
99
bool
useGlobalMenuManager =
false
);
100
101
protected
:
103
virtual
void
recreateMenu();
104
105
virtual
bool
enableForEnvironmentals()
const
;
106
};
107
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)