Files
OpenVR-AdvancedSettings-frame/bin/win64/res/qml/mainwidget.qml
T
matzman e39c240ff5 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.
2016-10-28 18:38:05 +02:00

91 lines
1.6 KiB
QML

import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.0
Rectangle {
id: root
color: "#1b2939"
width: 1200
height: 800
property RootPage rootPage: RootPage {
stackView: mainView
}
property SteamVRPage steamVRPage: SteamVRPage {
stackView: mainView
visible: false
}
property ChaperonePage chaperonePage: ChaperonePage {
stackView: mainView
visible: false
}
property PlayspacePage playspacePage: PlayspacePage {
stackView: mainView
visible: false
}
property FixFloorPage fixFloorPage: FixFloorPage {
stackView: mainView
visible: false
}
property StatisticsPage statisticsPage: StatisticsPage {
stackView: mainView
visible: false
}
property SettingsPage settingsPage: SettingsPage {
stackView: mainView
visible: false
}
property AudioPage audioPage: AudioPage {
stackView: mainView
visible: false
}
StackView {
id: mainView
anchors.fill: parent
pushEnter: Transition {
PropertyAnimation {
property: "x"
from: mainView.width
to: 0
duration: 200
}
}
pushExit: Transition {
PropertyAnimation {
property: "x"
from: 0
to: -mainView.width
duration: 200
}
}
popEnter: Transition {
PropertyAnimation {
property: "x"
from: -mainView.width
to: 0
duration: 200
}
}
popExit: Transition {
PropertyAnimation {
property: "x"
from: 0
to: mainView.width
duration: 200
}
}
initialItem: rootPage
}
}