VR-Forces 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() override;
30 
32  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent) override;
33  };
34 
37  {
38  public:
39  //CTOR
41 
42  //DTOR
43  virtual ~DtVrfRightClickOrbatMenu() override;
44 
46  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent) override;
47  };
48 
51  {
52  Q_OBJECT
53  public:
54  //CTOR
56 
57  //DTOR
58  virtual ~DtVrfMakePartOfOrbatAction() override;
59 
61  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
62 
63  protected:
65  virtual void on_aboutToShow() override;
66 
67  virtual void on_triggered() override;
68 
69  protected:
72  };
73 
76  {
77  Q_OBJECT
78  public:
79  //CTOR
81 
82  //DTOR
83  virtual ~DtVrfRemoveFromOrbatAction() override;
84 
86  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
87 
88  protected:
90  virtual void on_aboutToShow() override;
91  virtual void on_triggered() override;
92 
93  protected:
96  };
97 
100  {
101  Q_OBJECT
102  public:
103  //CTOR
105 
106  //DTOR
107  virtual ~DtImportORBATAction() override;
108 
110  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
111 
112  protected:
114  virtual void on_triggered() override;
115 
116  protected:
118  };
119 
122  {
123  Q_OBJECT
124  public:
125  //CTOR
127 
128  //DTOR
129  virtual ~DtExportORBATAction() override;
130 
132  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
133 
134  protected:
135  virtual void on_triggered() override;
136 
137  protected:
139  };
140 
143  {
144  Q_OBJECT
145  public:
146  //CTOR
148 
149  //DTOR
150  virtual ~DtAddAllSimulationObjectsToORBAT() override;
151 
153  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
154 
155  protected:
156  virtual void on_triggered() override;
157 
158  protected:
160  };
161 
164  {
165  Q_OBJECT
166  public:
167  //CTOR
169 
170  //DTOR
171  virtual ~DtRemoveAllSimulationObjectsFromORBAT() override;
172 
174  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
175 
176  protected:
177  virtual void on_triggered() override;
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:76
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)