Add bindings page and apply autosave chaperone on offset clamp
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 294 KiB |
@@ -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
|
||||
|
||||
@@ -17,4 +17,7 @@
|
||||
<file alias="previous">img/audio/media_keys/outline_skip_previous_white_24dp.svg</file>
|
||||
<file alias="stop">img/audio/media_keys/outline_stop_white_24dp.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/bindings">
|
||||
<file alias="bindings">img/bindings/bindings.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user