Commit Graph

31 Commits

Author SHA1 Message Date
James Graham
6cca3dbe3a Add the right click menu for image delegates in fullscreen mode
Add the right click menu for image delegates in fullscreen mode

BUG: 455147
2022-08-27 11:52:45 +00:00
Tobias Fella
8257a9d65e Refactor delegates and improve context menu opening
This unifies the context menu opening and makes sure that clicking *anywhere* on the delegate opens the context menu, not just on the content
2022-07-18 20:12:26 +02:00
James Graham
a96e8958c9 Centre the timline when using bubbles but not in compact mode 2022-07-13 17:27:13 +00:00
James Graham
7dc951d2cd Support user messages on the right even when wide
Limit maximum delegate width to ensure that the gap between user and non-user messages isn't too large
2022-07-13 17:27:13 +00:00
Tobias Fella
e0df553a72 Remove unused imports & includes 2022-07-08 13:16:07 +02:00
Nicolas Fella
722aa422e7 Fix activating browser windows on Wayland
QDesktopServices::openUrl does not have XDG activation support yet so it can't raise an existing browser window when opening URLs

Instead use KIO::OpenUrlJob, which does support that
2022-07-05 22:55:12 +00:00
Tobias Fella
334c13b36c Set preferredWidth and preferredHeight of images 2022-03-11 15:09:57 +01:00
Tobias Fella
faeb1964bd Prepare Image & Video loading for E2EE
Changes the urls to make sure they are decrypted, while making sure that
it is backwards compatible to libQuotient 0.6
2022-02-25 21:15:46 +01:00
Carl Schwan
297684a139 Fix issues with saveFileAs
Fix #491
2021-12-28 23:42:16 +01:00
Carl Schwan
aa9dcc87cb Fix variable lookup in the timeline delegates
This fix issues with downloading and interacting with files
2021-12-28 16:18:05 +01:00
Carl Schwan
5f41378214 Fix image tooltip
display needs to be from the model and not from the Control
2021-12-26 00:14:09 +01:00
Tobias Fella
599ab11656 Refactor delegates 2021-12-14 22:27:29 +00:00
Tobias Fella
c9935804b0 Fix QML warning in ImageDelegate 2021-08-25 00:20:24 +02:00
Tobias Fella
046e823d1b Show blurhashes for image events 2021-08-21 00:39:57 +02:00
Carl Schwan
a24df37d74 Show images from replied-message in replies
Fix #350
2021-05-20 19:45:22 +02:00
Noah Davis
07bee8d9de ImageDelegate: Use automatic instead of explicit sourceSize
Fixes bad downscaling and improves RAM usage.
2021-05-06 12:53:16 -04:00
Tobias Fella
d170cc5161 Cleanup QML imports and license headers
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Tobias Fella
73f18f4fe9 Refactor the context menu loading 2021-04-06 11:08:56 +00:00
Arnav Rawat
4f52c5293b Fix deletion of images
Fixes #322
2021-03-29 21:45:43 +00:00
Tobias Fella
e1327dfde0 Fix opening the image context menu 2021-03-24 14:45:39 +01:00
Carl Schwan
5c8d916752 Add support for stickers
Fix #130
2020-12-29 14:28:32 +00:00
Tobias Fella
8aec6b67cb Fix image saving 2020-12-24 13:29:35 +01:00
Tobias Fella
3c5ee404c3 Get rid of Neochat.Effect 2020-12-12 00:09:10 +00:00
Carl Schwan
29584aec23 Allow redaction of message only by admins and authors of the message
Previously you could click on the button but it would do nothing
2020-12-05 11:29:37 +01:00
Carl Schwan
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00
Carl Schwan
9f734aa570 Optimize size of images 2020-11-24 12:15:34 +01:00
Tobias Fella
a8b95791e2 Port MessageSourceDialog to OverlaySheet 2020-11-17 20:39:40 +01:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
344cb02309 Improve look of timeline 2020-11-10 15:21:44 +01:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00