mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Show keyboard instructions if no mouse / warning on custom repo
This commit is contained in:
parent
f5390c821a
commit
b34d2a54af
4 changed files with 32 additions and 2 deletions
20
main.qml
20
main.qml
|
@ -83,7 +83,7 @@ ApplicationWindow {
|
|||
anchors.rightMargin: 50
|
||||
anchors.leftMargin: 50
|
||||
|
||||
rows: 4
|
||||
rows: 6
|
||||
columns: 3
|
||||
columnSpacing: 25
|
||||
|
||||
|
@ -269,6 +269,24 @@ ApplicationWindow {
|
|||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
Layout.columnSpan: 3
|
||||
color: "#ffffff"
|
||||
font.pixelSize: 18
|
||||
font.family: roboto.name
|
||||
visible: imageWriter.isEmbeddedMode() && imageWriter.customRepo()
|
||||
text: qsTr("Using custom repository: %1").arg(imageWriter.constantOsListUrl())
|
||||
}
|
||||
|
||||
Text {
|
||||
Layout.columnSpan: 3
|
||||
color: "#ffffff"
|
||||
font.pixelSize: 18
|
||||
font.family: roboto.name
|
||||
visible: !imageWriter.hasMouse()
|
||||
text: qsTr("Keyboard navigation: <tab> navigate to next button <space> press button/select item <arrow up/down> go up/down in lists")
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: langbar
|
||||
Layout.columnSpan: 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue