VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
performanceOptionsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvUtil/signalslib.h>
12 
15 
16 #include <QtWidgets/QWidget>
17 
21 
22 namespace makVrv
23 {
24  class DtDe;
25 }
26 
27 class QHBoxLayout;
28 class QLabel;
29 class QSlider;
30 class QVBoxLayout;
31 class QCheckBox;
32 class QSlider;
33 class QRadioButton;
34 class QDoubleSpinBox;
35 class QGroupBox;
36 
37 namespace makVrf
38 {
41  {
42  Q_OBJECT
43 
44  public:
45 
47  DtPerformanceOptionsWidget(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
48 
50  virtual ~DtPerformanceOptionsWidget();
51 
52  protected:
53  void setupGui();
54 
56  virtual void setSliderPosition(double);
57 
59  virtual void setTranslationValue(const QString&);
60 
62  virtual void setRotationValue(const QString&);
63 
65  virtual void setSmoothingValue(const QString&);
66 
68  virtual void setUserDefinedSmoothing(bool b);
69 
71  virtual void setUserDefinedSmoothingPeriod(double);
72 
74  virtual void setUserDefinedSmoothingEnabled(bool);
75 
76  protected slots:
78  virtual void onUpdateSlider();
79 
81  virtual void onSmoothingChoiceChanged();
82 
84  virtual void onUpdateSmoothingSpecifiedByUserEnabled();
85  virtual void onUpdateSmoothingSpecifiedByUserSpinBox(double);
86  virtual void onUpdateSmoothingSpecifiedByUserSlider(int);
87 
88  public:
89  QVBoxLayout* myMainLayout;
90  QHBoxLayout* myPerformanceLayout;
96  QRadioButton* mySmoothingValue;
97  QRadioButton* mySpecifySmoothingValue;
98  QGroupBox* mySmoothingGroup;
101  QDoubleSpinBox* mySmoothingPeriodSpinBox;
102 
103  protected:
105 
106  private:
109 
112  };
113 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)