Add bindings page and apply autosave chaperone on offset clamp

This commit is contained in:
Kung-vr
2019-10-27 00:39:01 +09:00
parent 1a67b80ef3
commit d0c2520b64
7 changed files with 50 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import ovras.advsettings 1.0
import "common"
MyStackViewPage {
headerText: "Bindings Guide"
content: ColumnLayout {
Image {
source: "qrc:/bindings/bindings"
sourceSize.width: 1120
sourceSize.height: 659
anchors.fill: parent
}
}
}
+11
View File
@@ -141,6 +141,17 @@ MyStackViewPage {
Layout.fillWidth: true
}
MyPushButton {
id: bindingsButton
activationSoundEnabled: false
text: "Bindings"
Layout.fillWidth: true
onClicked: {
MyResources.playFocusChangedSound()
mainView.push(bindingsPage)
}
}
MyPushButton {
id: settingsButton
activationSoundEnabled: false
+5
View File
@@ -80,6 +80,11 @@ Rectangle {
visible: false
}
property BindingsPage bindingsPage: BindingsPage {
stackView: mainView
visible: false
}
StackView {
id: mainView
anchors.fill: parent