VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateSettingsWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrlQt/vrvVrlQt.h>
13 
14 #if !defined(Q_MOC_RUN)
16 #endif
17 
18 #include <QtWidgets/QSpinBox>
19 
20 class QGroupBox;
21 class QRadioButton;
22 class QCheckBox;
23 class QLabel;
24 class QSpinBox;
25 class QVBoxLayout;
26 class QSizePolicy;
27 
28 namespace makVrv
29 {
30  enum class DtColorizedModelColorType;
31 
35  : public QWidget, public DtAggregateSettingsInterface
36  { Q_OBJECT;
37  public:
38 
40  DtAggregateSettingsWidget( DtDe& de, QWidget* parent,
41  Qt::WindowFlags f = Qt::Widget );
42 
44  virtual ~DtAggregateSettingsWidget();
45 
46  public:
47 
51 
52  virtual void setGhostEchelonLevelItems( bool enabled );
53  virtual void setGhostEchelonLevelItemLabels(bool enabled);
54  virtual void setEchelonLevel(int);
55  virtual void setDisplayBoundingBoxes( bool enabled );
56  virtual void setDisplayAggregates( bool enabled );
57  virtual void setDisplayLeafLevelItems( bool enabled );
58  virtual void setDisplayBoundingBoxesForSelected( bool enabled );
59  virtual void setAllowSelectingOfGhostedItems( bool enabled );
60  virtual void setDisplayMainIcon( bool enabled );
61  virtual void setColorizedModelColorType(
63 
65 
69 
70  virtual int echelonLevel() const;
71  virtual bool displayAggregates() const;
72  virtual bool ghostEchelonLevelItems() const;
73  virtual bool ghostEchelonLevelItemLabels() const;
74  virtual bool displayBoundingBoxes() const;
75  virtual bool displayBoundingBoxesForSelected() const;
76  virtual bool displayMainIcon() const;
77  virtual bool displayLeafLevelItems() const;
78  virtual bool allowSelectingOfGhostedItems() const;
80  colorizedModelColorType() const;
81 
83 
84  protected slots:
85 
89 
90  virtual void on_setDisplayAggregatesChanged();
91  virtual void on_setShowLeafNodesChanged();
92  virtual void on_displayBoundingBoxesForSelectedChanged();
93  virtual void on_displayBoundingBoxesChanged();
94  virtual void on_displayMainIconChanged();
95  virtual void on_ghostEchelonLevelItemsChanged();
96  virtual void on_ghostEchelonLevelItemLabelsChanged();
97  virtual void on_allowSelectionOfGhostedItemsChanged();
98  virtual void on_echelonLevelChanged();
99  virtual void on_colorizedModelColorTypeChanged();
100 
102 
103  protected:
104 
107  void setupGui();
108 
111  void connectToSignals();
112 
114  virtual void updateEnabledStates();
115 
116  public:
117 
121 
127 
128  QCheckBox* myShowMainIcon; // Valid for 3D only
129  QCheckBox* myShowLeafNodes; // Valid for 3D only
130 
133  QRadioButton* myIconColorsRadioButton;
134 
135  protected:
136 
138 
139  };
140 
141 }
QCheckBox * myShowBoundingVolumes
Definition: DtAggregateSettingsWidget.h:119
QCheckBox * myAllowSelectionOfGhosted
Definition: DtAggregateSettingsWidget.h:126
Interface for the aggregate settings GUI.
Definition: DtAggregateSettingsInterface.h:25
QCheckBox * myGhostEchelonSettingsBox
Definition: DtAggregateSettingsWidget.h:122
QRadioButton * myPrimaryColorsRadioButton
Definition: DtAggregateSettingsWidget.h:132
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
DtColorizedModelColorType
Enumeration for the model coloring mode.
Definition: DtSharedEntityDisplaySettings.h:34
Contains DLL export macros.
QCheckBox * myGhostEchelonLabelsSettingsBox
Definition: DtAggregateSettingsWidget.h:123
DtDe & myDe
Definition: DtAggregateSettingsWidget.h:137
QCheckBox * myShowAggregates
Definition: DtAggregateSettingsWidget.h:118
QSpinBox * myToEchelonLevel
Definition: DtAggregateSettingsWidget.h:125
QCheckBox * myShowMainIcon
Definition: DtAggregateSettingsWidget.h:128
Qt GUI to control the display of tactical graphics.
Definition: DtAggregateSettingsWidget.h:34
QRadioButton * myIconColorsRadioButton
Definition: DtAggregateSettingsWidget.h:133
QCheckBox * myShowLeafNodes
Definition: DtAggregateSettingsWidget.h:129
QCheckBox * myShowBoundingVolumesOnlyForSelected
Definition: DtAggregateSettingsWidget.h:120
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
QLabel * myToEchelonLabel
Definition: DtAggregateSettingsWidget.h:124
QLabel * myForceColoringLabel
Definition: DtAggregateSettingsWidget.h:131

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)