Complete GUI overhaul (from Qt Widgets to Qt Quick Controls 2)

Added chaperone profiles
Added separate supersampling sliders for applications/compositor
Added asynchronous reprojection on/off switch
Merged in Microphone Control Overlay
Added Push-to-Talk profiles
Updated to OpenVR 1.0.3
Requires at least SteamVR beta 1477423729.
This commit is contained in:
2016-10-28 18:38:05 +02:00
parent 8e815b0ce4
commit e39c240ff5
462 changed files with 64668 additions and 2760 deletions
+17 -6
View File
@@ -3,28 +3,39 @@
#include <QObject>
class QQuickWindow;
// application namespace
namespace advsettings {
// forward declaration
class OverlayWidget;
class OverlayController;
class SettingsTabController : public QObject {
Q_OBJECT
Q_PROPERTY(bool autoStartEnabled READ autoStartEnabled WRITE setAutoStartEnabled NOTIFY autoStartEnabledChanged)
private:
OverlayController* parent;
OverlayWidget* widget;
QQuickWindow* widget;
unsigned settingsUpdateCounter = 0;
bool m_autoStartEnabled = false;
public:
void init(OverlayController* parent, OverlayWidget* widget);
void initStage1();
void initStage2(OverlayController* parent, QQuickWindow* widget);
public slots:
void UpdateTab();
void eventLoopTick();
void AutoStartToggled(bool value);
bool autoStartEnabled() const;
public slots:
void setAutoStartEnabled(bool value, bool notify = true);
signals:
void autoStartEnabledChanged(bool value);
};
} // namespace advsettings