VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTacticalGraphicsSettingsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #ifndef DtTacticalGraphicsSettingsWidget_H_
11 #define DtTacticalGraphicsSettingsWidget_H_
12 
13 #include <vrvVrlQt/vrvVrlQt.h>
15 #include <QtWidgets/QWidget>
16 
17 class QCheckBox;
18 class QPushButton;
19 class QVBoxLayout;
20 class QSlider;
21 class QLabel;
22 class QDoubleSpinBox;
23 class QRadioButton;
24 class QButtonGroup;
25 
26 namespace makVrv
27 {
31  : public QWidget
33  {
34  Q_OBJECT;
35 
36  public:
38  DtTacticalGraphicsSettingsWidget( DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::Widget);
39 
42 
43  virtual void setTacticalGraphicsEnabled(bool enabled) override;
44  virtual void setTacticalGraphicsIndicatorsEnabled(bool enabled) override;
45  virtual void setHeightAboveTerrainEnabled(bool enabled);
46  virtual void setHeightAboveTerrainSelectedOnly(bool enabled) override;
47  virtual void setHeightLinesEnabled(bool enabled) override;
48  virtual void setRemoteGraphicsEnabled(bool enabled) override;
49  virtual void setShowActiveTacticalGraphicsEnabled(bool enabled) override;
50  virtual void setDeleteTacticalGraphicsOnHide(bool enabled) override;
51  virtual void setFriendlyForceColorStyleOverrideEnabled(bool enabled) override;
52  virtual void setFriendlyForceColorStyleOverrideColorBlack(bool isBlack) override;
53  virtual void setFriendlyForceColorStyleOverrideColorButtonsEnabled(bool enabled) override;
54 
55  protected slots:
56  void on_tacticalGraphicsEnabledCheckChanged(int state);
57  void on_tacticalGraphicsIndicatorsEnabledCheckChanged(int state);
58  void on_HeightAboveTerrainEnabledCheckChanged(int state);
59  void on_HeightAboveTerrainSelectedOnlyCheckChanged(int state);
60  void on_HeightLinesEnabledCheckChanged(int state);
61  void on_remoteGraphicsEnabledCheckChanged(int state);
62  void on_ShowActiveTacticalGraphicsCheckChanged(int state);
63  void on_deleteTacticalGraphicsOnHide(int state);
64  void on_friendlyForceColorOverrideEnabledCheckChanged(int state);
65  void on_friendlyForceColorIsBlackRadioButtonClicked();
66  void on_friendlyForceColorIsWhiteRadioButtonClicked();
67 
68 
69  protected:
70  virtual void setupGui();
83  QVBoxLayout* myMainLayout;
85  };
86 }
87 
88 #endif
QCheckBox * myTacticalGraphicsEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:71
QCheckBox * myTacticalGraphicsIndicatorsEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:72
Interface for the tactical graphics settings GUI.
Definition: DtTacticalGraphicsSettingsInterface.h:21
DtDe & myDe
Definition: DtTacticalGraphicsSettingsWidget.h:84
QCheckBox * myDeleteTacticalGraphicsOnHideCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:78
QRadioButton * myFriendlyForceColorIsBlackRadioButton
Definition: DtTacticalGraphicsSettingsWidget.h:80
QRadioButton * myFriendlyForceColorIsWhiteRadioButton
Definition: DtTacticalGraphicsSettingsWidget.h:81
QCheckBox * myFriendlyForceColorStyleOverrideEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:79
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QCheckBox * myHeightAboveTerrainEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:73
Contains DLL export macros.
QVBoxLayout * myMainLayout
Definition: DtTacticalGraphicsSettingsWidget.h:83
QCheckBox * myRemoteGraphicsEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:76
QButtonGroup * myFriendlyForceColorOverrideButtonGroup
Definition: DtTacticalGraphicsSettingsWidget.h:82
Interface for the tactical graphics settings dialog.
QCheckBox * myHeightLinesEnabledCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:75
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
QCheckBox * myOnlyShowActiveTacticalGraphicsCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:77
Qt GUI to control the display of tactical graphics.
Definition: DtTacticalGraphicsSettingsWidget.h:30
QCheckBox * myHeightAboveTerrainSelectedOnlyCheckbox
Definition: DtTacticalGraphicsSettingsWidget.h:74

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)