VR-Forces Developer's Guide
 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 
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 
36 namespace makVrf
37 {
40  {
41  Q_OBJECT
42 
43  public:
44 
46  DtPerformanceOptionsWidget(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
47 
49  virtual ~DtPerformanceOptionsWidget() override;
50 
51  protected:
52  void setupGui();
53 
55  virtual void setSliderPosition(double) override;
56 
58  virtual void setTranslationValue(const QString&) override;
59 
61  virtual void setRotationValue(const QString&) override;
62 
64  virtual void setSmoothingValue(const QString&) override;
65 
67  virtual void setUserDefinedSmoothing(bool b) override;
68 
70  virtual void setUserDefinedSmoothingPeriod(double) override;
71 
73  virtual void setUserDefinedSmoothingEnabled(bool) override;
74 
75  protected slots:
77  virtual void onUpdateSlider();
78 
80  virtual void onSmoothingChoiceChanged();
81 
83  virtual void onUpdateSmoothingSpecifiedByUserEnabled();
84  virtual void onUpdateSmoothingSpecifiedByUserSpinBox(double);
85  virtual void onUpdateSmoothingSpecifiedByUserSlider(int);
86 
87  public:
88  QVBoxLayout* myMainLayout;
89  QHBoxLayout* myPerformanceLayout;
95  QRadioButton* mySmoothingValue;
96  QRadioButton* mySpecifySmoothingValue;
97  QWidget* mySmoothingGroup;
101 
102  protected:
104 
105  private:
108 
111  };
112 }
QDoubleSpinBox * mySmoothingPeriodSpinBox
Definition: performanceOptionsWidget.h:100
makVrv::DtDe & myDe
Definition: performanceOptionsWidget.h:103
#define DT_DLL_VRFGUISETTINGSWIDGETS
Definition: vrfGuiSettingsWidgets.h:22
QRadioButton * mySpecifySmoothingValue
Definition: performanceOptionsWidget.h:96
QHBoxLayout * myPerformanceLayout
Definition: performanceOptionsWidget.h:89
Definition: performanceOptionsWidget.h:38
QRadioButton * mySmoothingValue
Definition: performanceOptionsWidget.h:95
QSlider * mySmoothingPeriodSlider
Definition: performanceOptionsWidget.h:99
QLabel * myTranslationValue
Definition: performanceOptionsWidget.h:93
Definition: performanceOptionsWidgetInterface.h:29
QWidget * mySmoothingGroup
Definition: performanceOptionsWidget.h:97
QCheckBox * mySmoothingCheckbox
Definition: performanceOptionsWidget.h:98
QSlider * myPerformanceSlider
Definition: performanceOptionsWidget.h:92
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
QVBoxLayout * myMainLayout
Definition: performanceOptionsWidget.h:88
QLabel * myMinLabel
Definition: performanceOptionsWidget.h:90
QLabel * myMaxLabel
Definition: performanceOptionsWidget.h:91
QLabel * myRotationValue
Definition: performanceOptionsWidget.h:94

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)