VR-Forces 4.1 Class Documentation
DtInterestManagementWidget.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 <vrvCoreQt/vrvCoreQt.h>
13 
15 
16 #include <QtGui/QWidget>
17 
18 class QLabel;
19 class QSpinBox;
20 class QCheckBox;
21 class QHBoxLayout;
22 
23 namespace makVrv
24 {
25 
26  class DtUnicode;
27 
32  : public QWidget, public DtInterestManagementInterface
33  {
34 
35  Q_OBJECT
36 
37  public:
38 
41  Qt::WindowFlags flags = 0 );
42 
44  virtual ~DtInterestManagementWidget();
45 
49 
50  virtual void setDdmRegionSize( int size );
51  virtual void setDdmRegionSizeUnitLabel( const DtUnicode& label );
52  virtual void setRegionUpdateThreshold( int percentage );
53  virtual void setAltitudeThresholdEnabled( bool enabled );
54  virtual void setAltitudeThreshold( int threshold );
55  virtual void setAltitudeThresholdUnitLabel( const DtUnicode& label );
56 
58 
59  protected slots:
60 
64 
65  void on_myDdmRegionSizeSpinBox_valueChanged( int );
66  void on_myRegionUpdateThresholdSpinBox_valueChanged( int );
67  void on_myAltitudeThresholdSpinBox_valueChanged( int );
68  void on_myHideEntitiesCheckbox_stateChanged( int );
69 
71 
72  protected:
73 
76  void setupGui();
77 
78  protected:
79 
85  QHBoxLayout* myMainLayout;
86 
87  };
88 
89 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)