VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtInterestManagementWidget.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
15 
16 #include <QtGui/QWidget>
17 
18 class QLabel;
19 class QSpinBox;
20 class QCheckBox;
21 class QHBoxLayout;
22 class QDoubleSpinBox;
23 
24 namespace makVrv
25 {
26 
27  class DtUnicode;
28 
33  : public QWidget, public DtInterestManagementInterface
34  {
35 
36  Q_OBJECT
37 
38  public:
39 
42  Qt::WindowFlags flags = 0 );
43 
45  virtual ~DtInterestManagementWidget();
46 
50 
51  virtual void setDdmRegionSize( double size );
52  virtual void setDdmRegionSizeUnitLabel( const DtUnicode& label );
53  virtual void setDdmRegionSizeMaxRange( double range );
54  virtual void setDdmRegionSizeDecimals( int decimals );
55  virtual void setRegionUpdateThreshold( int percentage );
56  virtual void setAltitudeThresholdEnabled( bool enabled );
57  virtual void setAltitudeThreshold( double threshold );
58  virtual void setAltitudeThresholdUnitLabel( const DtUnicode& label );
59  virtual void setAltitudeThresholdMaxRange( double range );
60  virtual void setAltitudeThresholdDecimals( int decimals );
61 
63 
64  protected slots:
65 
69 
70  void on_myDdmRegionSizeSpinBox_valueChanged( double );
71  void on_myRegionUpdateThresholdSpinBox_valueChanged( int );
72  void on_myAltitudeThresholdSpinBox_valueChanged( double );
73  void on_myHideEntitiesCheckbox_stateChanged( int );
74 
76 
77  protected:
78 
81  void setupGui();
82 
83  protected:
84 
85  QDoubleSpinBox* myDdmRegionSizeSpinBox;
88  QDoubleSpinBox* myAltitudeThresholdSpinBox;
90  QHBoxLayout* myMainLayout;
91 
92  };
93 
94 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)