Keyboard Navigation
This commit is contained in:
parent
7358960ac7
commit
17f235f535
@ -35,6 +35,7 @@ Controls.ItemDelegate {
|
||||
lastFeed = feed.url
|
||||
pageStack.push("qrc:/EntryListPage.qml", {"feed": feed})
|
||||
}
|
||||
Keys.onReturnPressed: clicked()
|
||||
|
||||
background: Kirigami.ShadowedRectangle {
|
||||
anchors.fill: parent
|
||||
|
@ -28,6 +28,8 @@ Kirigami.SwipeListItem {
|
||||
listItem.clicked();
|
||||
}
|
||||
|
||||
Keys.onReturnPressed: clicked()
|
||||
|
||||
contentItem: RowLayout {
|
||||
|
||||
Loader {
|
||||
|
@ -292,4 +292,16 @@ Kirigami.ApplicationWindow {
|
||||
PlaybackRateDialog {
|
||||
id: playbackRateDialog
|
||||
}
|
||||
|
||||
//Global Shortcuts
|
||||
Shortcut {
|
||||
sequence: "space"
|
||||
enabled: AudioManager.canPlay
|
||||
onActivated: AudioManager.playPause()
|
||||
}
|
||||
Shortcut {
|
||||
sequence: "n"
|
||||
enabled: AudioManager.canGoNext
|
||||
onActivated: AudioManager.next()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user