aboutsummaryrefslogtreecommitdiff
path: root/qml/main.qml
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-12-20 21:10:36 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-12-20 21:28:08 +0100
commit96555dfc65034c46578309f39ae0f754e1acb0f8 (patch)
tree1670bcb917b12c71b8596647067a5f30802ea6f6 /qml/main.qml
parentb51a3e81dd2178c681226458ca4bb73ae98a5e34 (diff)
downloadkdeltachat-96555dfc65034c46578309f39ae0f754e1acb0f8.tar.gz
kdeltachat-96555dfc65034c46578309f39ae0f754e1acb0f8.zip
Less clicks: focus compose pane on chat selection.
- Also we now use Enter to send chat, and Ctrl/Shift+Enter to add newlines. Updated the F1 help accordingly. - there was no way to refresh the message list until you clicked on the chat again, so I moved updateMessagelist() to trigger on every incoming message. We have working block mechanisms now, so it shouldn't be that much of a bother if someone spams you. - To speed up the delay between the UI displaying the message has waiting to be sent, upon sending a message, the startIo() function is now triggered.
Diffstat (limited to 'qml/main.qml')
-rw-r--r--qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/main.qml b/qml/main.qml
index 34e94e8..f254274 100644
--- a/qml/main.qml
+++ b/qml/main.qml
@@ -125,7 +125,7 @@ Kirigami.ApplicationWindow {
focus: true
anchors.centerIn: parent
width: 200
- height: 200
+ height: 230
padding: 10
contentChildren: [
Text {
@@ -135,7 +135,7 @@ Kirigami.ApplicationWindow {
font.pixelSize: 14
},
Text {
- text: "<b>F1</b>: Displays this" + "<br><b>F2</b>: Work on/offline" + "<br><b>F5</b>: Network check" + "<br><b>Shift+Tab</b>: Account settings" + "<br><b>Alt+C</b>: Clear search" + "<br><b>Alt+Tab</b>: Switch accounts" + "<br><b>Ctrl+F</b>: Search contacts" + "<br><b>Ctrl+N</b>: New chat" + "<br><b>Ctrl+S</b>: Send message" + "<br><b>Ctrl+Tab</b>: Show sidebar" + "<br><b>Ctrl+Q</b>: Quit"
+ text: "<b>F1</b>: Displays this" + "<br><b>F2</b>: Work on/offline" + "<br><b>F5</b>: Network check" + "<br><b>Shift+Tab</b>: Account settings" + "<br><b>Alt+C</b>: Clear search" + "<br><b>Alt+Tab</b>: Switch accounts" + "<br><b>Ctrl+F</b>: Search contacts" + "<br><b>Ctrl+N</b>: New chat" + "<br><b>Enter</b>: Send message" + "<br><b>Shift/Ctrl+Enter</b>: Add <br>newline" + "<br><b>Ctrl+Tab</b>: Show sidebar" + "<br><b>Ctrl+Q</b>: Quit"
topPadding: 20
leftPadding: 10
bottomPadding: 20