add rooms model, add room delegate for completer
This commit is contained in:
parent
734fb7e286
commit
19dbbb2c6c
6 changed files with 130 additions and 0 deletions
|
|
@ -183,6 +183,9 @@ Rectangle {
|
|||
} else if (event.key == Qt.Key_Colon) {
|
||||
messageInput.openCompleter(cursorPosition, "emoji");
|
||||
popup.open();
|
||||
} else if (event.key == Qt.Key_NumberSign) {
|
||||
messageInput.openCompleter(cursorPosition, "room");
|
||||
popup.open();
|
||||
} else if (event.key == Qt.Key_Escape && popup.opened) {
|
||||
completerTriggeredAt = -1;
|
||||
popup.completerName = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue