VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
overlayMenuItems.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/vrfSimulationMenuItem.h
>
15
#include <
vrvCoreQt/DtCheckedItem.h
>
16
#include <
vrvCoreQt/DtMenu.h
>
17
18
namespace
makVrf
19
{
21
class
DT_DLL_VRFGUICOREQT
DtLoadOverlayMenuItem
:
public
makVrv::DtMenuItem
22
{
23
public
:
24
//CTOR
25
DtLoadOverlayMenuItem
(
makVrv::DtDe
& de);
26
27
//DTOR
28
virtual
~
DtLoadOverlayMenuItem
();
29
31
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
32
33
protected
:
34
virtual
void
on_triggered();
35
36
protected
:
37
makVrv::DtDe
&
myDe
;
38
};
39
41
class
DT_DLL_VRFGUICOREQT
DtSaveOverlayMenuItem
:
public
makVrv::DtMenuItem
42
{
43
public
:
44
//CTOR
45
DtSaveOverlayMenuItem
(
makVrv::DtDe
& de);
46
47
//DTOR
48
virtual
~
DtSaveOverlayMenuItem
();
49
51
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
52
53
protected
:
54
virtual
void
on_triggered();
55
virtual
void
on_aboutToShow();
56
57
protected
:
58
makVrv::DtDe
&
myDe
;
59
QAction
*
myAction
;
60
};
61
63
class
DT_DLL_VRFGUICOREQT
DtShowOverlayBarMenuItem
:
public
makVrv::DtCheckedItem
64
{
65
Q_OBJECT
66
67
public
:
68
DtShowOverlayBarMenuItem
(
makVrv::DtDe
&);
69
70
virtual
~
DtShowOverlayBarMenuItem
();
71
73
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
74
75
protected
:
76
//Set the value due to being triggered.
77
virtual
void
setValue(
bool
value);
78
79
//Get the current value.
80
virtual
bool
getValue()
const
;
81
82
virtual
void
on_aboutToShow();
83
84
protected
:
85
mutable
bool
myShowingOverlayBar
;
86
mutable
bool
myInitializedFromSettings
;
87
};
88
90
class
DT_DLL_VRFGUICOREQT
DtOverlayFileMenu
:
public
makVrv::DtMenu
91
{
92
public
:
93
95
DtOverlayFileMenu
(
makVrv::DtDe
&);
96
98
virtual
~
DtOverlayFileMenu
();
99
101
virtual
QMenu
* createMenu(
makVrv::DtDe
&, QWidget* parent);
102
};
103
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)