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
vrvCoreQt
DtObserverViewsContextItems.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (c) 2017 MAK Technologies, Inc.
3
* All rights reserved.
4
******************************************************************************/
8
9
#pragma once
10
#include <
vrvCoreQt/vrvCoreQt.h
>
11
#include <
vrvCoreQt/DtMenuItem.h
>
12
#include <
vrvUtil/DtVirtualBaseClass.h
>
13
14
namespace
makVrv
15
{
16
17
21
class
DT_DLL_VRVCOREQT
DtSelectDefaultObserverViewItem
:
public
DtMenuItem
22
{
23
Q_OBJECT;
24
public
:
25
27
DtSelectDefaultObserverViewItem
(
DtDe
&);
28
30
virtual
~
DtSelectDefaultObserverViewItem
();
31
33
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
34
35
protected
:
36
37
virtual
void
on_triggered();
38
39
virtual
void
on_aboutToShow();
40
41
protected
:
42
43
DtDe
&
myDe
;
44
QAction
*
myQAction
;
45
46
};
47
48
52
class
DT_DLL_VRVCOREQT
DtUnsetDefaultObserverViewItem
:
public
DtMenuItem
53
{
54
Q_OBJECT;
55
public
:
56
58
DtUnsetDefaultObserverViewItem
(
DtDe
&);
59
61
virtual
~
DtUnsetDefaultObserverViewItem
();
62
64
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
65
66
protected
:
67
68
virtual
void
on_triggered();
69
70
virtual
void
on_aboutToShow();
71
72
protected
:
73
74
DtDe
&
myDe
;
75
QAction
*
myQAction
;
76
77
};
78
79
83
class
DT_DLL_VRVCOREQT
DtDeDeleteObserverViewItem
:
public
DtMenuItem
84
{
85
Q_OBJECT;
86
public
:
87
89
DtDeDeleteObserverViewItem
(
DtDe
& de);
90
92
virtual
~
DtDeDeleteObserverViewItem
();
93
95
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
96
97
protected
:
98
99
virtual
void
on_triggered();
100
101
virtual
void
on_aboutToShow();
102
103
protected
:
104
105
DtDe
&
myDe
;
106
QAction
*
myQAction
;
107
108
};
109
113
class
DT_DLL_VRVCOREQT
DtDeSaveObserverViewItem
:
public
DtMenuItem
114
{
115
Q_OBJECT;
116
public
:
117
119
DtDeSaveObserverViewItem
(
DtDe
& de);
120
122
virtual
~
DtDeSaveObserverViewItem
();
123
125
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
126
127
protected
:
128
129
virtual
void
on_triggered();
130
131
virtual
void
on_aboutToShow();
132
133
protected
:
134
135
DtDe
&
myDe
;
136
QAction
*
myQAction
;
137
138
};
139
140
144
class
DT_DLL_VRVCOREQT
DtObserverViewWidgetContextItemsSignaler
:
public
DtVirtualBaseClass
145
{
146
147
public
:
148
150
static
DtObserverViewWidgetContextItemsSignaler
& instance(
DtDe
& de);
151
153
virtual
~
DtObserverViewWidgetContextItemsSignaler
();
154
156
boost::signal<void(bool)>
signal_setDefaultObserverView
;
157
159
boost::signal<void(bool)>
signal_unsetDefaultObserverView
;
160
162
boost::signal<void()>
signal_deleteObserverView
;
163
165
boost::signal<void()>
signal_saveObserverView
;
166
167
protected
:
168
169
DtObserverViewWidgetContextItemsSignaler
();
170
171
};
172
}
173
174
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
)