From 96555dfc65034c46578309f39ae0f754e1acb0f8 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Mon, 20 Dec 2021 21:10:36 +0100 Subject: 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. --- qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qml/main.qml') 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: "F1: Displays this" + "
F2: Work on/offline" + "
F5: Network check" + "
Shift+Tab: Account settings" + "
Alt+C: Clear search" + "
Alt+Tab: Switch accounts" + "
Ctrl+F: Search contacts" + "
Ctrl+N: New chat" + "
Ctrl+S: Send message" + "
Ctrl+Tab: Show sidebar" + "
Ctrl+Q: Quit" + text: "F1: Displays this" + "
F2: Work on/offline" + "
F5: Network check" + "
Shift+Tab: Account settings" + "
Alt+C: Clear search" + "
Alt+Tab: Switch accounts" + "
Ctrl+F: Search contacts" + "
Ctrl+N: New chat" + "
Enter: Send message" + "
Shift/Ctrl+Enter: Add
newline" + "
Ctrl+Tab: Show sidebar" + "
Ctrl+Q: Quit" topPadding: 20 leftPadding: 10 bottomPadding: 20 -- cgit v1.2.3-70-g09d2