Keyboard Navigation
This commit is contained in:
parent
7358960ac7
commit
17f235f535
@ -35,6 +35,7 @@ Controls.ItemDelegate {
|
|||||||
lastFeed = feed.url
|
lastFeed = feed.url
|
||||||
pageStack.push("qrc:/EntryListPage.qml", {"feed": feed})
|
pageStack.push("qrc:/EntryListPage.qml", {"feed": feed})
|
||||||
}
|
}
|
||||||
|
Keys.onReturnPressed: clicked()
|
||||||
|
|
||||||
background: Kirigami.ShadowedRectangle {
|
background: Kirigami.ShadowedRectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -28,6 +28,8 @@ Kirigami.SwipeListItem {
|
|||||||
listItem.clicked();
|
listItem.clicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onReturnPressed: clicked()
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
@ -292,4 +292,16 @@ Kirigami.ApplicationWindow {
|
|||||||
PlaybackRateDialog {
|
PlaybackRateDialog {
|
||||||
id: 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