VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntitySettingsItems.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrlQt/vrvVrlQt.h>
15 
16 namespace makVrv
17 {
18 
22  public DtCheckedItem
23  {
24  Q_OBJECT
25 
26  public:
28  virtual ~DtGroundClampingItem();
29 
31  virtual QAction* createAction(DtDe&, QWidget* parent) override;
32  protected:
33  //Set the value due to being triggered.
34  virtual void setValue(bool value) override;
35 
36  //Get the current value.
37  virtual bool getValue() const override;
38 
40  };
41 
45  public DtCheckedItem
46  {
47  Q_OBJECT
48 
49  public:
51  virtual ~Dt2dIconDynamicScalingItem();
52 
54  virtual QAction* createAction(DtDe&, QWidget* parent) override;
55  protected:
56  //Set the value due to being triggered.
57  virtual void setValue(bool value) override;
58 
59  //Get the current value.
60  virtual bool getValue() const override;
61 
63  };
64 
68  public DtCheckedItem
69  {
70  Q_OBJECT
71 
72  public:
75 
77  virtual QAction* createAction(DtDe&, QWidget* parent) override;
78  protected:
79  //Set the value due to being triggered.
80  virtual void setValue(bool value) override;
81 
82  //Get the current value.
83  virtual bool getValue() const override;
84 
86  };
87 
91  public DtCheckedItem
92  {
93  Q_OBJECT
94 
95  public:
97  virtual ~DtEntityLabelsItem();
98 
100  virtual QAction* createAction(DtDe&, QWidget* parent) override;
101  protected:
102  //Set the value due to being triggered.
103  virtual void setValue(bool value) override;
104 
105  //Get the current value.
106  virtual bool getValue() const override;
107 
109  };
110 
114  public DtCheckedItem
115  {
116  Q_OBJECT
117 
118  public:
120  virtual ~DtEntityHatLinesItem();
121 
123  virtual QAction* createAction(DtDe&, QWidget* parent) override;
124  protected:
125  //Set the value due to being triggered.
126  virtual void setValue(bool value) override;
127 
128  //Get the current value.
129  virtual bool getValue() const override;
130 
132  };
133 
137  {
138  Q_OBJECT
139 
140  public:
141 
144 
146  virtual ~DtVrlEmitterVolumeItem();
147 
149  virtual QAction* createAction(DtDe&, QWidget* parent) override;
150 
151  protected:
152 
154  virtual void setValue( bool value ) override;
155 
156  //Get the current value.
157  virtual bool getValue() const override;
158 
160  };
161 
162 
166  {
167  Q_OBJECT
168 
169  public:
170 
173 
175  virtual ~DtIntervisibilityItem();
176 
178  virtual QAction* createAction(DtDe&, QWidget* parent) override;
179 
180  protected:
181 
183  virtual void setValue( bool value ) override;
184 
185  //Get the current value.
186  virtual bool getValue() const override;
187 
188  DtSignalConnectionManager mySignals;
189  };
190 
194  public DtCheckedItem
195  {
196  Q_OBJECT
197 
198  public:
200  virtual ~DtFireDetonateLinesItem();
201 
203  virtual QAction* createAction(DtDe&, QWidget* parent) override;
204  protected:
205  //Set the value due to being triggered.
206  virtual void setValue(bool value) override;
207 
208  //Get the current value.
209  virtual bool getValue() const override;
210 
212  };
213 
217  : public DtCheckedItem
218  {
219  Q_OBJECT
220 
221  public:
222 
225 
228 
231  QAction* createAction( DtDe& de, QWidget* parent ) override;
232 
233  protected:
236  virtual void setValue( bool value ) override;
237 
240  virtual bool getValue() const override;
241 
242  };
243 
247  public DtCheckedItem
248  {
249  Q_OBJECT
250 
251  public:
253  virtual ~DtEntityOceanWakesItem();
254 
256  virtual QAction* createAction(DtDe&, QWidget* parent) override;
257 
258  protected:
259  //Set the value due to being triggered.
260  virtual void setValue(bool value) override;
261 
262  //Get the current value.
263  virtual bool getValue() const override;
264 
266  };
267 
271  public DtCheckedItem
272  {
273  Q_OBJECT
274 
275  public:
277 
278  virtual ~DtLaserDesignatorSettingItem();
279 
281  virtual QAction* createAction(DtDe&, QWidget* parent) override;
282 
283  protected:
284  //Set the value due to being triggered.
285  virtual void setValue(bool value) override;
286 
287  //Get the current value.
288  virtual bool getValue() const override;
289 
290  virtual void on_postInitialize() override;
291 
292  boost::signalslib::signal<void (bool)> signal_settingChanged;
293 
295  };
296 
300  public DtCheckedItem
301  {
302  Q_OBJECT
303 
304  public:
306 
308 
310  virtual QAction* createAction( DtDe&, QWidget* parent ) override;
311 
312  protected:
313  //Set the value due to being triggered.
314  virtual void setValue( bool value ) override;
315 
316  //Get the current value.
317  virtual bool getValue() const override;
318 
319  virtual void on_postInitialize() override;
320 
321  boost::signalslib::signal<void( bool )> signal_settingChanged;
322 
324  };
325 
326 }
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:62
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:294
The item for controlling whether or not 2D icons are rotated based on their heading.
Definition: DtEntitySettingsItems.h:67
Global menu item for toggling transmission lines.
Definition: DtEntitySettingsItems.h:216
The item for controlling embarked entity icons.
Definition: DtEntitySettingsItems.h:299
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:265
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:108
Contains DLL export macros.
The item for controlling entity HAT lines on/off.
Definition: DtEntitySettingsItems.h:113
Base class item builder for settings toggle items The menu id string is &quot;DtViewSettingsItem&quot;.
Definition: DtCheckedItem.h:22
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:39
The toolbar item for turning intervisibility on/off.
Definition: DtIntervisibilityMenuItems.h:206
The item for controlling fire / detonate lines on/off.
Definition: DtEntitySettingsItems.h:193
The item for controlling entity labels on/off.
Definition: DtEntitySettingsItems.h:90
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:159
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The item for controlling laser designators.
Definition: DtEntitySettingsItems.h:270
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:131
Contains makVrv::DtCheckedItem class.
boost::signalslib::signal< void(bool)> signal_settingChanged
Definition: DtEntitySettingsItems.h:321
The item for controlling entity ocean wakes on/off.
Definition: DtEntitySettingsItems.h:246
The item for turning emitter volumes on/off.
Definition: DtEntitySettingsItems.h:136
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:85
boost::signalslib::signal< void(bool)> signal_settingChanged
Definition: DtEntitySettingsItems.h:292
Base class to provide boost signal/slot management.
The item for controlling ground clamping on/off.
Definition: DtEntitySettingsItems.h:21
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:211
DtSignalConnectionManager mySignals
Definition: DtEntitySettingsItems.h:323
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
The item for controlling the dynamic scaling of 2D icons.
Definition: DtEntitySettingsItems.h:44

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)