You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
3.3 KiB
102 lines
3.3 KiB
import QtQuick 2.7
|
|
import QtQuick.Controls 2.0
|
|
import QtQuick.Layouts 1.2
|
|
import QtGraphicalEffects 1.0
|
|
import QtQuick.Window 2.0
|
|
import QtQuick.Controls.Styles 1.4
|
|
import QtQuick.Dialogs 1.2
|
|
|
|
import "."
|
|
import "common"
|
|
|
|
MyStackViewPage {
|
|
id: rootPage
|
|
width: 1600
|
|
height: 800
|
|
headerText: "Wowlet VR"
|
|
headerShowBackButton: false
|
|
stackView: mainView
|
|
|
|
content: Item {
|
|
ColumnLayout {
|
|
anchors.fill: parent
|
|
RowLayout {
|
|
spacing: 32
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
|
|
ColumnLayout {
|
|
Layout.preferredWidth: 250
|
|
Layout.maximumWidth: 250
|
|
Layout.fillHeight: true
|
|
spacing: 10
|
|
|
|
MyPushButton {
|
|
id: steamVRButton
|
|
iconPath: "qrc:/send_icon"
|
|
activationSoundEnabled: false
|
|
text: "Send"
|
|
Layout.fillWidth: true
|
|
onClicked: {
|
|
//MyResources.playFocusChangedSound()
|
|
mainView.push(steamVRPage)
|
|
}
|
|
}
|
|
|
|
MyPushButton {
|
|
id: chaperoneButton
|
|
iconPath: "qrc:/receive_icon"
|
|
activationSoundEnabled: false
|
|
text: "Receive"
|
|
Layout.fillWidth: true
|
|
onClicked: {
|
|
//MyResources.playFocusChangedSound()
|
|
mainView.push(chaperonePage)
|
|
}
|
|
}
|
|
|
|
MyPushButton {
|
|
id: motionButton
|
|
iconPath: "qrc:/info_icon"
|
|
activationSoundEnabled: false
|
|
text: "Info"
|
|
Layout.fillWidth: true
|
|
onClicked: {
|
|
//MyResources.playFocusChangedSound()
|
|
mainView.push(motionPage)
|
|
}
|
|
}
|
|
MyPushButton {
|
|
id: rotationButton
|
|
iconPath: "qrc:/backarrow"
|
|
activationSoundEnabled: false
|
|
text: "Close"
|
|
Layout.fillWidth: true
|
|
onClicked: {
|
|
//MyResources.playFocusChangedSound()
|
|
mainView.push(rotationPage)
|
|
}
|
|
}
|
|
|
|
Rectangle {
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
color: "transparent"
|
|
}
|
|
|
|
MyText {
|
|
Layout.fillWidth: true
|
|
wrap: true
|
|
fontSize: 12
|
|
text: "Status: synchronized"
|
|
}
|
|
}
|
|
|
|
History {
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |