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
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
17
namespace
makVrf
18
{
20
class
DT_DLL_VRFGUICOREQT
DtLoadOverlayMenuItem
:
public
makVrv::DtMenuItem
21
{
22
public
:
23
//CTOR
24
DtLoadOverlayMenuItem
(
makVrv::DtDe
& de);
25
26
//DTOR
27
virtual
~
DtLoadOverlayMenuItem
();
28
30
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
31
32
protected
:
33
virtual
void
on_triggered();
34
35
protected
:
36
makVrv::DtDe
&
myDe
;
37
};
38
40
class
DT_DLL_VRFGUICOREQT
DtSaveOverlayMenuItem
:
public
makVrv::DtMenuItem
41
{
42
public
:
43
//CTOR
44
DtSaveOverlayMenuItem
(
makVrv::DtDe
& de);
45
46
//DTOR
47
virtual
~
DtSaveOverlayMenuItem
();
48
50
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
51
52
protected
:
53
virtual
void
on_triggered();
54
virtual
void
on_aboutToShow();
55
56
protected
:
57
makVrv::DtDe
&
myDe
;
58
QAction
*
myAction
;
59
};
60
62
class
DT_DLL_VRFGUICOREQT
DtShowOverlayBarMenuItem
:
public
makVrv::DtCheckedItem
63
{
64
Q_OBJECT
65
66
public
:
67
DtShowOverlayBarMenuItem
(
makVrv::DtDe
&);
68
69
virtual
~
DtShowOverlayBarMenuItem
();
70
72
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
73
74
protected
:
75
//Set the value due to being triggered.
76
virtual
void
setValue(
bool
value);
77
78
//Get the current value.
79
virtual
bool
getValue()
const
;
80
81
virtual
void
on_aboutToShow();
82
83
protected
:
84
mutable
bool
myShowingOverlayBar
;
85
mutable
bool
myInitializedFromSettings
;
86
};
87
}
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
)