VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfOrbatActions.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrvCoreQt/DtMenu.h>
15 #include <vrvCoreQt/DtMenuItem.h>
16 
17 #include <QObject>
18 
19 namespace makVrf
20 {
23  {
24  public:
25  //CTOR
27 
28  //DTOR
29  virtual ~DtVrfOrbatMenu();
30 
32  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
33  };
34 
37  {
38  public:
39  //CTOR
41 
42  //DTOR
43  virtual ~DtVrfRightClickOrbatMenu();
44 
46  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
47  };
48 
51  {
52  Q_OBJECT
53  public:
54  //CTOR
56 
57  //DTOR
58  virtual ~DtVrfMakePartOfOrbatAction();
59 
61  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
62 
63  protected:
65  virtual void on_aboutToShow();
66 
67  virtual void on_triggered();
68 
69  protected:
72  };
73 
76  {
77  Q_OBJECT
78  public:
79  //CTOR
81 
82  //DTOR
83  virtual ~DtVrfRemoveFromOrbatAction();
84 
86  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
87 
88  protected:
90  virtual void on_aboutToShow();
91  virtual void on_triggered();
92 
93  protected:
96  };
97 
100  {
101  Q_OBJECT
102  public:
103  //CTOR
105 
106  //DTOR
107  virtual ~DtImportORBATAction();
108 
110  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
111 
112  protected:
114  virtual void on_triggered();
115 
116  protected:
118  };
119 
122  {
123  Q_OBJECT
124  public:
125  //CTOR
127 
128  //DTOR
129  virtual ~DtExportORBATAction();
130 
132  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
133 
134  protected:
135  virtual void on_triggered();
136 
137  protected:
139  };
140 
143  {
144  Q_OBJECT
145  public:
146  //CTOR
148 
149  //DTOR
151 
153  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
154 
155  protected:
156  virtual void on_triggered();
157 
158  protected:
160  };
161 
164  {
165  Q_OBJECT
166  public:
167  //CTOR
169 
170  //DTOR
172 
174  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
175 
176  protected:
177  virtual void on_triggered();
178 
179  protected:
181  };
182 }
Builder for menu items.
Definition: DtMenuItem.h:23
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:138
Root menu for orbat menu items.
Definition: vrfOrbatActions.h:36
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:94
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:117
If there are any items that are part of the orbat, remove them from the orbat.
Definition: vrfOrbatActions.h:75
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:159
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:180
makVrv::DtDe & myDe
Definition: vrfOrbatActions.h:70
Removes all objects in ORBAT.
Definition: vrfOrbatActions.h:163
If there are any items selected that are not part of the orbat. make them part of the orbat...
Definition: vrfOrbatActions.h:50
Allowq user to export an ORBAT from the scenario.
Definition: vrfOrbatActions.h:121
The abstract base menu class.
Definition: DtMenu.h:23
Allowq user to import an ORBAT into the scenario.
Definition: vrfOrbatActions.h:99
Root menu for orbat menu items.
Definition: vrfOrbatActions.h:22
QAction * myAction
Definition: vrfOrbatActions.h:95
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
Allow user to add all objects that are not part of the ORBAT in the scenario to the scenario...
Definition: vrfOrbatActions.h:142
QAction * myAction
Definition: vrfOrbatActions.h:71

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)