diff options
author | link2xt <link2xt@testrun.org> | 2021-10-31 11:25:55 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-10-31 11:25:55 +0300 |
commit | 255e157d00fa9117399a377ac3dd9d9c8977c4b5 (patch) | |
tree | 22ea601dbb9ad159b2caeb17047b1cd41e7f32a3 /qml/ChatPage.qml | |
parent | 48c2a5d7789d742631f8774ad8969d70e5ed0b2e (diff) | |
download | kdeltachat-255e157d00fa9117399a377ac3dd9d9c8977c4b5.tar.gz kdeltachat-255e157d00fa9117399a377ac3dd9d9c8977c4b5.zip |
GIFs, display names on every message and more
- now we can view animated gifs !
- name are displayed on top of every message
type (not just text messages and audio messages)
This avoids some confusion in whether a message has
been sent by us or not.
- we fix the warnings of NON-NOTIFYABLE properties
being used by adding one Q_PROPERTY: fileReadOnly, so we
can use it to get the filename and not be bothered by
console warnings.
- we add some variables in Message.qml because some values
were repeated and made more sense to put in a readonly var
(maxH and maxW).
- make scrollbar visible on hover.
# Conflicts:
# qml/ComposePane.qml
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r-- | qml/ChatPage.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml index 63e3dae..fb99eeb 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -86,6 +86,13 @@ Kirigami.ScrollablePage { * item height from the height of currently visible messages. */ verticalLayoutDirection: ListView.BottomToTop + ScrollBar.vertical: ScrollBar { + wheelEnabled: true + hoverEnabled: true + background: Rectangle { + opacity: hovered ? 1 : 0.0 + } + } delegate: Message { message: root.context.getMessage(msgId) |