Add bindings page and apply autosave chaperone on offset clamp
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -80,6 +80,11 @@ Rectangle {
|
||||
visible: false
|
||||
}
|
||||
|
||||
property BindingsPage bindingsPage: BindingsPage {
|
||||
stackView: mainView
|
||||
visible: false
|
||||
}
|
||||
|
||||
StackView {
|
||||
id: mainView
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user