fixed naming bug in QML and formatted/cleaned up

This commit is contained in:
ykeara
2019-01-09 20:32:39 -06:00
parent 813a2b1d3f
commit 15fa0ac47a
3 changed files with 45 additions and 184 deletions
+5 -5
View File
@@ -31,7 +31,7 @@ class SteamVRTabController : public QObject
/*Q_PROPERTY(
float compositorSuperSampling READ compositorSuperSampling WRITE
setCompositorSuperSampling NOTIFY compositorSuperSamplingChanged )
*/
*/
Q_PROPERTY( bool motionSmoothing READ motionSmoothing WRITE
setMotionSmoothing NOTIFY motionSmoothingChanged )
@@ -44,7 +44,7 @@ private:
QQuickWindow* widget;
float m_superSampling = 1.0;
//float m_compositorSuperSampling = 1.0;
// float m_compositorSuperSampling = 1.0;
bool m_motionSmoothing = true;
bool m_allowSupersampleFiltering = true;
@@ -61,7 +61,7 @@ public:
void eventLoopTick();
float superSampling() const;
//float compositorSuperSampling() const;
// float compositorSuperSampling() const;
bool motionSmoothing() const;
bool allowSupersampleFiltering() const;
@@ -73,7 +73,7 @@ public:
public slots:
void setSuperSampling( float value, bool notify = true );
// void setCompositorSuperSampling( float value, bool notify = true );
// void setCompositorSuperSampling( float value, bool notify = true );
void setMotionSmoothing( bool value, bool notify = true );
void setAllowSupersampleFiltering( bool value, bool notify = true );
@@ -89,7 +89,7 @@ public slots:
signals:
void superSamplingChanged( float value );
//void compositorSuperSamplingChanged( float value );
// void compositorSuperSamplingChanged( float value );
void motionSmoothingChanged( bool value );
void allowSupersampleFilteringChanged( bool value );