VR-Forces 4.10 Class Documentation
 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) 2012 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 
34  : public QWidget, public DtAggregateSettingsInterface
35  { Q_OBJECT;
36  public:
37 
39  DtAggregateSettingsWidget( DtDe& de, QWidget* parent,
40  Qt::WindowFlags f = Qt::Widget );
41 
43  virtual ~DtAggregateSettingsWidget();
44 
45  public:
46 
50 
51  virtual void setGhostEchelonLevelItems( bool enabled );
52  virtual void setEchelonLevel( int );
53  virtual void setDisplayBoundingBoxes( bool enabled );
54  virtual void setDisplayAggregates( bool enabled );
55  virtual void setDisplayLeafLevelItems( bool enabled );
56  virtual void setDisplayBoundingBoxesForSelected( bool enabled );
57  virtual void setAllowSelectingOfGhostedItems( bool enabled );
58  virtual void setDisplayMainIcon( bool enabled );
59  virtual void setColorizedModelColorType(
61 
63 
67 
68  virtual int echelonLevel() const;
69  virtual bool displayAggregates() const;
70  virtual bool ghostEchelonLevelItems() const;
71  virtual bool displayBoundingBoxes() const;
72  virtual bool displayBoundingBoxesForSelected() const;
73  virtual bool displayMainIcon() const;
74  virtual bool displayLeafLevelItems() const;
75  virtual bool allowSelectingOfGhostedItems() const;
77  colorizedModelColorType() const;
78 
80 
81  protected slots:
82 
86 
87  virtual void on_setDisplayAggregatesChanged();
88  virtual void on_setShowLeafNodesChanged();
89  virtual void on_displayBoundingBoxesForSelectedChanged();
90  virtual void on_displayBoundingBoxesChanged();
91  virtual void on_displayMainIconChanged();
92  virtual void on_ghostEchelonLevelItemsChanged();
93  virtual void on_allowSelectionOfGhostedItemsChanged();
94  virtual void on_echelonLevelChanged();
95  virtual void on_colorizedModelColorTypeChanged();
96 
98 
99  protected:
100 
103  void setupGui();
104 
107  void connectToSignals();
108 
110  virtual void updateEnabledStates();
111 
112  public:
113 
117 
122 
123  QCheckBox* myShowMainIcon; // Valid for 3D only
124  QCheckBox* myShowLeafNodes; // Valid for 3D only
125 
128  QRadioButton* myIconColorsRadioButton;
129 
130  protected:
131 
133 
134  };
135 
136 }
QCheckBox * myShowBoundingVolumes
Definition: DtAggregateSettingsWidget.h:115
QCheckBox * myAllowSelectionOfGhosted
Definition: DtAggregateSettingsWidget.h:121
Interface for the aggregate settings GUI.
Definition: DtAggregateSettingsInterface.h:22
QCheckBox * myGhostEchelonSettingsBox
Definition: DtAggregateSettingsWidget.h:118
QRadioButton * myPrimaryColorsRadioButton
Definition: DtAggregateSettingsWidget.h:127
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
ColorizedModelColorType
Definition: DtSharedAggregateDisplaySettings.h:35
Contains DLL export macros.
DtDe & myDe
Definition: DtAggregateSettingsWidget.h:132
QCheckBox * myShowAggregates
Definition: DtAggregateSettingsWidget.h:114
QSpinBox * myToEchelonLevel
Definition: DtAggregateSettingsWidget.h:120
QCheckBox * myShowMainIcon
Definition: DtAggregateSettingsWidget.h:123
Qt GUI to control the display of tactical graphics.
Definition: DtAggregateSettingsWidget.h:33
QRadioButton * myIconColorsRadioButton
Definition: DtAggregateSettingsWidget.h:128
QCheckBox * myShowLeafNodes
Definition: DtAggregateSettingsWidget.h:124
QCheckBox * myShowBoundingVolumesOnlyForSelected
Definition: DtAggregateSettingsWidget.h:116
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QLabel * myToEchelonLabel
Definition: DtAggregateSettingsWidget.h:119
QLabel * myForceColoringLabel
Definition: DtAggregateSettingsWidget.h:126

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)