VR-Forces 4.1.1 Class Documentation
DtPerformanceOptionsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtPerformanceOptionsWidget.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
15 
18 
19 #include <QtGui/QWidget>
20 
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 class QHBoxLayout;
31 class QLabel;
32 class QSlider;
33 class QVBoxLayout;
34 class QCheckBox;
35 class QSlider;
36 class QRadioButton;
37 class QDoubleSpinBox;
38 class QGroupBox;
39 
40 namespace makVrf
41 {
44  {
45  Q_OBJECT
46 
47  public:
48 
50  DtPerformanceOptionsWidget(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
51 
53  virtual ~DtPerformanceOptionsWidget();
54 
55  protected:
56  void setupGui();
57 
59  virtual void setSliderPosition(double);
60 
62  virtual void setTranslationValue(const QString&);
63 
65  virtual void setRotationValue(const QString&);
66 
68  virtual void setSmoothingValue(const QString&);
69 
71  virtual void setUserDefinedSmoothing(bool b);
72 
74  virtual void setUserDefinedSmoothingPeriod(double);
75 
77  virtual void setUserDefinedSmoothingEnabled(bool);
78 
79  protected slots:
81  virtual void onUpdateSlider();
82 
84  virtual void onSmoothingChoiceChanged();
85 
87  virtual void onUpdateSmoothingSpecifiedByUserEnabled();
88  virtual void onUpdateSmoothingSpecifiedByUserSpinBox();
89  virtual void onUpdateSmoothingSpecifiedByUserSlider();
90 
91  public:
92  QVBoxLayout* myMainLayout;
93  QHBoxLayout* myPerformanceLayout;
99  QRadioButton* mySmoothingValue;
100  QRadioButton* mySpecifySmoothingValue;
101  QGroupBox* mySmoothingGroup;
104  QDoubleSpinBox* mySmoothingPeriodSpinBox;
105 
106  protected:
108 
109  private:
112 
115  };
116 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)