VR-Forces 4.7 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 
15 
16 #include <QtWidgets/QSpinBox>
17 
18 class QGroupBox;
19 class QRadioButton;
20 class QCheckBox;
21 class QLabel;
22 class QSpinBox;
23 class QVBoxLayout;
24 class QSizePolicy;
25 
26 namespace makVrv
27 {
28 
32  : public QWidget, public DtAggregateSettingsInterface
33  { Q_OBJECT;
34  public:
35 
37  DtAggregateSettingsWidget( DtDe& de, QWidget* parent,
38  Qt::WindowFlags f = Qt::Widget );
39 
41  virtual ~DtAggregateSettingsWidget();
42 
43  public:
44 
48 
49  virtual void setGhostEchelonLevelItems( bool enabled );
50  virtual void setEchelonLevel( int );
51  virtual void setDisplayBoundingBoxes( bool enabled );
52  virtual void setDisplayAggregates( bool enabled );
53  virtual void setDisplayLeafLevelItems( bool enabled );
54  virtual void setDisplayBoundingBoxesForSelected( bool enabled );
55  virtual void setAllowSelectingOfGhostedItems( bool enabled );
56  virtual void setDisplayMainIcon( bool enabled );
57  virtual void setColorizedModelColorType(
59 
61 
65 
66  virtual int echelonLevel() const;
67  virtual bool displayAggregates() const;
68  virtual bool ghostEchelonLevelItems() const;
69  virtual bool displayBoundingBoxes() const;
70  virtual bool displayBoundingBoxesForSelected() const;
71  virtual bool displayMainIcon() const;
72  virtual bool displayLeafLevelItems() const;
73  virtual bool allowSelectingOfGhostedItems() const;
75  colorizedModelColorType() const;
76 
78 
79  protected slots:
80 
84 
85  virtual void on_setDisplayAggregatesChanged();
86  virtual void on_setShowLeafNodesChanged();
87  virtual void on_displayBoundingBoxesForSelectedChanged();
88  virtual void on_displayBoundingBoxesChanged();
89  virtual void on_displayMainIconChanged();
90  virtual void on_ghostEchelonLevelItemsChanged();
91  virtual void on_allowSelectionOfGhostedItemsChanged();
92  virtual void on_echelonLevelChanged();
93  virtual void on_colorizedModelColorTypeChanged();
94 
96 
97  protected:
98 
101  void setupGui();
102 
105  void connectToSignals();
106 
108  virtual void updateEnabledStates();
109 
110  public:
111 
115 
120 
121  QCheckBox* myShowMainIcon; // Valid for 3D only
122  QCheckBox* myShowLeafNodes; // Valid for 3D only
123 
126  QRadioButton* myIconColorsRadioButton;
127 
128  protected:
129 
131 
132  };
133 
134 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)