build script, move qml and scripts to src

This commit is contained in:
Robin Appelman
2018-04-02 17:26:32 +02:00
parent 7376aa4e80
commit 8eceaa5294
51 changed files with 57 additions and 738 deletions
+110
View File
@@ -0,0 +1,110 @@
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 ChaperoneWarningsPage chaperoneWarningsPage: ChaperoneWarningsPage {
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
}
property RevivePage revivePage: RevivePage {
stackView: mainView
visible: false
}
property UtilitiesPage utilitiesPage: UtilitiesPage {
stackView: mainView
visible: false
}
property AccessibilityPage accessibilityPage: AccessibilityPage {
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
}
}