1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

keyboard navigation on clipboard history

This commit is contained in:
bbedward
2025-08-16 12:34:36 -04:00
parent 4135250bb7
commit 7dfb2b6a99
3 changed files with 818 additions and 611 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -478,7 +478,7 @@ QtObject {
} }
} }
if (event.key === Qt.Key_Question || event.key === Qt.Key_H) { if (event.key === Qt.Key_F10) {
showKeyboardHints = !showKeyboardHints showKeyboardHints = !showKeyboardHints
event.accepted = true event.accepted = true
} }

View File

@@ -15,13 +15,6 @@ Rectangle {
opacity: showHints ? 1 : 0 opacity: showHints ? 1 : 0
z: 100 z: 100
Behavior on opacity {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
Column { Column {
anchors.centerIn: parent anchors.centerIn: parent
spacing: 2 spacing: 2
@@ -34,10 +27,20 @@ Rectangle {
} }
StyledText { StyledText {
text: "Del: Clear • Shift+Del: Clear All • 1-9: Actions • ?: Help • Esc: Close" text: "Del: Clear • Shift+Del: Clear All • 1-9: Actions • F10: Help • Esc: Close"
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText color: Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
} }
Behavior on opacity {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
} }