VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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;
102 
103  protected:
105 
106  private:
109 
112  };
113 }
QDoubleSpinBox * mySmoothingPeriodSpinBox
Definition: performanceOptionsWidget.h:101
makVrv::DtDe & myDe
Definition: performanceOptionsWidget.h:104
#define DT_DLL_VRFGUISETTINGSWIDGETS
Definition: vrfGuiSettingsWidgets.h:22
QRadioButton * mySpecifySmoothingValue
Definition: performanceOptionsWidget.h:97
QHBoxLayout * myPerformanceLayout
Definition: performanceOptionsWidget.h:90
Definition: performanceOptionsWidget.h:39
QRadioButton * mySmoothingValue
Definition: performanceOptionsWidget.h:96
QSlider * mySmoothingPeriodSlider
Definition: performanceOptionsWidget.h:100
QLabel * myTranslationValue
Definition: performanceOptionsWidget.h:94
Definition: performanceOptionsWidgetInterface.h:29
QCheckBox * mySmoothingCheckbox
Definition: performanceOptionsWidget.h:99
QSlider * myPerformanceSlider
Definition: performanceOptionsWidget.h:93
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QGroupBox * mySmoothingGroup
Definition: performanceOptionsWidget.h:98
QVBoxLayout * myMainLayout
Definition: performanceOptionsWidget.h:89
QLabel * myMinLabel
Definition: performanceOptionsWidget.h:91
QLabel * myMaxLabel
Definition: performanceOptionsWidget.h:92
QLabel * myRotationValue
Definition: performanceOptionsWidget.h:95

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)