aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-10-21 20:18:32 +0100
committerlink2xt <link2xt@testrun.org>2021-10-31 11:24:31 +0300
commit48c2a5d7789d742631f8774ad8969d70e5ed0b2e (patch)
treed70550978d8be7dde324ee68fe0a48ee0ad8928a /qml/ChatlistPage.qml
parent483ade0aa979ed707d578b4445119ac084659ef0 (diff)
downloadkdeltachat-48c2a5d7789d742631f8774ad8969d70e5ed0b2e.tar.gz
kdeltachat-48c2a5d7789d742631f8774ad8969d70e5ed0b2e.zip
We add a bunch of keyboard shortcuts. F1 to show.
- Also, the play, pause and "save attachment" button have a little emoji before them - Tooltip show for buttons with shorcuts
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml
index 2ee7e83..42ceb64 100644
--- a/qml/ChatlistPage.qml
+++ b/qml/ChatlistPage.qml
@@ -94,7 +94,9 @@ Kirigami.ScrollablePage {
contextualActions: [
Kirigami.Action {
text: "Settings"
- iconName: "configure"
+ tooltip: "Shift+Tab"
+ iconName: "system-run"
+ shortcut: "Shift+Tab"
onTriggered: {
let settingsPageComponent = Qt.createComponent("qrc:/qml/SettingsPage.qml");
if (settingsPageComponent.status == Component.Ready) {
@@ -162,6 +164,8 @@ Kirigami.ScrollablePage {
mainAction: Kirigami.Action {
text: "New chat"
iconName: "list-add"
+ shortcut: "Ctrl+N"
+ tooltip: "Ctrl+N"
onTriggered: {
let newChatPageComponent = Qt.createComponent("qrc:/qml/NewChatPage.qml");
if (newChatPageComponent.status == Component.Ready) {