VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sessionMenuItems.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 
16 
17 namespace makVrf
18 {
22  {
23  Q_OBJECT
24  public:
25  //CTOR
27 
28  //DTOR
29  virtual ~DtJoinSessionMenuItem();
30 
32  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
33 
34  protected:
35  virtual void on_triggered();
36 
37  protected:
39  };
40 
43  {
44  Q_OBJECT
45  public:
46  //CTOR
48 
49  //DTOR
50  virtual ~DtResignFromSessionMenuItem();
51 
53  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
54 
55  protected:
56  virtual void on_triggered();
57 
58  protected:
60  };
61 
65  {
66  Q_OBJECT
67  public:
68  //CTOR
70 
71  //DTOR
72  virtual ~DtCommModelSettingsItem();
73 
75  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
76 
77  protected:
78  virtual void on_triggered();
79 
80  virtual void slot_settingReceived(const std::string& s, const DtVrfBackendState* state);
81 
82  protected:
85  };
86 
89  {
90  Q_OBJECT
91 
92  public:
93  //CTOR
95 
96  //DTOR
98 
100  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
101 
102  protected:
103  virtual void on_triggered();
104 
105  protected:
107  };
108 
111  {
112  Q_OBJECT
113 
114  public:
115  //CTOR
117 
118  //DTOR
119  virtual ~DtPrintTerrainItem();
120 
122  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
123 
124  protected:
125  virtual void on_triggered();
126 
127  protected:
129  };
130 
133  {
134  Q_OBJECT
135 
136  public:
137  //CTOR
139 
140  //DTOR
141  virtual ~DtSaveTerrainAsImageItem();
142 
144  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
145 
146  protected:
147  virtual void on_triggered();
148 
149  protected:
151  };
152 
155  {
156  public:
159 
161  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
162  protected:
163  //Set the value due to being triggered.
164  virtual void setValue(bool value);
165 
166  //Get the current value.
167  virtual bool getValue() const;
168 
169  virtual void on_spotReportOptionsChanged();
170  virtual void setupConnections();
171 
172  protected:
175  };
176 
179  {
180  Q_OBJECT
181 
182  public:
183  //CTOR
185 
186  //DTOR
187  virtual ~DtReloadVisualsMenuItem();
188 
190  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
191 
192  protected:
193  virtual void on_triggered();
194  virtual void on_aboutToShow();
195 
196  protected:
199  };
200 }
Definition: vrfBackendState.h:69
Builder for menu items.
Definition: DtMenuItem.h:23
QAction * myAction
Definition: sessionMenuItems.h:84
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
A menu item to resign from the current session.
Definition: sessionMenuItems.h:42
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:150
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:128
A menu item to allow the user to print the current map area.
Definition: sessionMenuItems.h:110
A menu item to allow the user to save the current map area as an image.
Definition: sessionMenuItems.h:132
A menu item to join to the current session, possibly opening a terrain database is there is a scenari...
Definition: sessionMenuItems.h:21
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:106
Base class item builder for settings toggle items The menu id string is "DtViewSettingsItem".
Definition: DtCheckedItem.h:22
bool myNeedsConnection
Definition: sessionMenuItems.h:174
QAction * myAction
Definition: sessionMenuItems.h:197
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The item for controlling showing only active tactical graphics on/off.
Definition: sessionMenuItems.h:154
Contains makVrv::DtCheckedItem class.
makVrv::DtSignalConnectionManager mySignals
Definition: sessionMenuItems.h:173
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:72
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:198
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:83
A menu item to change whether or not an external comm model is used for communications.
Definition: sessionMenuItems.h:64
A menu item show the scenario description and allow the user to modify it.
Definition: sessionMenuItems.h:88
A menu item to reload the current model set visuals.
Definition: sessionMenuItems.h:178
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:59
makVrv::DtDe & myDe
Definition: sessionMenuItems.h:38

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)