VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entityActions.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #if !defined(Q_MOC_RUN)
16 #include <vrvCoreQt/DtMenu.h>
18 #endif
19 
20 #include <QtWidgets/QDialogButtonBox>
21 
22 namespace makVrf
23 {
24  class DtEntitySelectionDialog;
25 
27  {
28  Q_OBJECT
29  public:
30  //CTOR
32 
33  //DTOR
34  virtual ~DtVrfEntityPlanAction();
35 
37  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
38 
39  protected:
40  virtual void validate(QAction*);
41  virtual void on_triggered();
42  };
43 
45  {
46  Q_OBJECT
47  public:
48  //CTOR
50 
51  //DTOR
53 
55  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
56 
57  protected:
58  virtual void validate(QAction*);
59  virtual void on_triggered();
60  };
61 
63  {
64  Q_OBJECT
65  public:
66  //CTOR
68 
69  //DTOR
71 
73  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
74 
75  protected:
76  virtual void validate(QAction*);
77  virtual void on_triggered();
78  };
79 
81  {
82  Q_OBJECT
83  public:
84  //CTOR
86 
87  //DTOR
88  virtual ~DtVrfShowHideAction();
89 
91  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
92 
93  protected:
94  virtual void validate(QAction*);
95  virtual void on_triggered();
96  };
97 
99  {
100  Q_OBJECT
101  public:
102  //CTOR
104 
105  //DTOR
106  virtual ~DtVrfEntitySkipTaskAction();
107 
109  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
110 
111  protected:
112  virtual void validate(QAction*);
113  virtual void on_triggered();
114  };
115 
117  {
118  Q_OBJECT
119  public:
120  //CTOR
122 
123  //DTOR
124  virtual ~DtVrfDeleteAction();
125 
127  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
128 
129  protected:
130  virtual void validate(QAction*);
131  virtual void slot_onValidate(QAction* act);
132  virtual void on_triggered();
133  };
134 
136  {
137  Q_OBJECT
138  public:
139  //CTOR
141 
142  //DTOR
143  virtual ~DtVrfAttachToAction();
144 
146  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
147 
148  protected:
149  virtual void validate(QAction*);
150  virtual void on_triggered();
151  virtual void onDialogDone();
152  virtual void onDialogAccepted();
153 
154  protected:
156  std::vector<DtUUID> myNames;
157  };
158 
160  {
161  Q_OBJECT
162  public:
163  //CTOR
165 
166  //DTOR
167  virtual ~DtVrfDetachFromAction();
168 
170  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
171 
172  protected:
173  virtual void validate(QAction*);
174  virtual void on_triggered();
175  };
176 
178  {
179  Q_OBJECT
180  public:
181  //CTOR
183 
184  //DTOR
185  virtual ~DtVrfMoveObjectAction();
186 
188  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
189 
190  protected:
191  virtual void validate(QAction*);
192  virtual void slot_onValidate(QAction* act);
193  virtual void on_triggered();
194  };
195 
197  {
198  Q_OBJECT
199  public:
200  //CTOR
202 
203  //DTOR
204  virtual ~DtVrfEditObjectAction();
205 
207  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
208 
209  protected:
210  virtual void slot_onValidate(QAction* act);
211  virtual void validate(QAction*);
212  virtual void on_triggered();
213  };
214 
216  {
217  Q_OBJECT
218  public:
219  //CTOR
221 
222  //DTOR
223  virtual ~DtVrfAggregateAsAction();
224 
226  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
227 
228  protected:
229  virtual void validate(QAction*);
230  virtual void on_triggered();
231  };
232 
234  {
235  Q_OBJECT
236  public:
237  //CTOR
239 
240  //DTOR
241  virtual ~DtVrfCopyAction();
242 
244  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
245 
246  protected:
247  virtual void validate(QAction*);
248  virtual void on_triggered();
249  };
250 
252  {
253  Q_OBJECT
254  public:
255  //CTOR
257 
258  //DTOR
259  virtual ~DtVrfPasteAction();
260 
262  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
263 
264  protected:
265  virtual void validate(QAction*);
266  virtual void on_triggered();
267  };
268 
270  {
271  Q_OBJECT
272  public:
273  //CTOR
275 
276  //DTOR
277  virtual ~DtVrfPasteSpecialAction();
278 
280  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
281 
282  protected slots:
283  virtual void pasteSpecial();
284 
285  protected:
286  virtual void validate(QAction*);
287  virtual void on_triggered();
288  };
289 
291  {
292  Q_OBJECT
293  public:
294  //CTOR
296 
297  //DTOR
298  virtual ~DtVrfEnableJoystickAction();
299 
301  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
302 
303  protected:
304  virtual void validate(QAction*);
305  virtual void on_triggered();
306  };
307 
309  {
310  Q_OBJECT
311  public:
312  //CTOR
314 
315  //DTOR
316  virtual ~DtVrfDisableJoystickAction();
317 
319  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
320 
321  protected:
322  virtual void validate(QAction*);
323  virtual void on_triggered();
324  };
325 
327  {
328  Q_OBJECT
329  public:
330  //CTOR
332 
333  //DTOR
334  virtual ~DtVrfSetIconColorAction();
335 
337  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
338 
339  protected:
340  virtual void validate(QAction*);
341  virtual void on_triggered();
342 
343  protected slots:
344  virtual void onDialogDone();
345  virtual void onDialogAccepted();
346 
347  protected:
350  QDialogButtonBox* myButtonBox;
352  std::vector<makVrv::DtUniqueID> myNames;
353  };
354 
356  {
357  Q_OBJECT
358 
359  public:
360  //CTOR
362 
363  //DTOR
365 
367  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
368 
369  protected:
370  virtual void on_triggered();
371 
372  protected:
374  };
375 }
QDialogButtonBox * myButtonBox
Definition: entityActions.h:350
Builder for menu items.
Definition: DtMenuItem.h:23
Definition: entityActions.h:355
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: entityActions.h:98
Definition: vrfEntityMenu.h:91
Definition: entityActions.h:233
Definition: entitySelectionDialog.h:36
Definition: entityActions.h:251
Definition: entityActions.h:290
Definition: entityActions.h:215
Definition: entityActions.h:196
Definition: entityActions.h:26
Definition: entityActions.h:80
std::vector< makVrv::DtUniqueID > myNames
Definition: entityActions.h:352
Widget that allows for the selection of a color value.
Definition: colorEntryWidget.h:30
QDialog * myDialog
Definition: entityActions.h:349
Definition: entityActions.h:116
Reader-Writer color specified by red, green, blue components.
Definition: rwColor.h:19
std::vector< DtUUID > myNames
Definition: entityActions.h:156
Definition: entityActions.h:135
Definition: entityActions.h:62
DtColorEntryWidget * myColorEntryWidget
Definition: entityActions.h:348
DtRwColor myIconColor
Definition: entityActions.h:351
Definition: entityActions.h:269
Definition: entityActions.h:326
DtEntitySelectionDialog * myDialog
Definition: entityActions.h:155
Definition: entityActions.h:44
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
makVrv::DtDe & myDe
Definition: entityActions.h:373
Definition: entityActions.h:177
Definition: entityActions.h:159
Definition: entityActions.h:308

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)