Commit graph

19 commits

Author SHA1 Message Date
Reilly Brogan
c9f1a449d8
linux: Use kirigami mouse handling if available
Qt6 changed the mouse scroll wheel handling for QtQuick to a type that mimics how touch pads/screens work, which most people find feels very poor. KDE fixes this by creating a custom type which re-implements the QtWidgets handling (see https://invent.kde.org/frameworks/kirigami/-/merge_requests/415).

On Matrix Nico has expressed a desire not to have to deal with compiling Kirigami for Windows and Mac, which is understandable. Linux users on the other hand almost always have kirigami available in their package repos which sidesteps that particular issue. We can search for Kirigami at build time and if present define a QML context property to allow it to be used, which should fix this issue for Linux users at least.

Helps with nheko-reborn/nheko#1819 (which won't be completely resolved until this is working for Windows and Mac as well).

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2024-11-05 15:37:54 -06:00
Nicolas Werner
2b1c9af311
More qml cleanups 2023-10-26 20:52:18 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
b1c2b384c6
Fix username label eliding loop 2023-06-08 22:32:10 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Loren Burkholder
eced5c83b4 Elide nicks and userids in read reciepts dialog 2023-02-28 20:40:22 -05:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
aaae72a4f2
Fix focus and qml parenting with qml root 2022-01-26 21:44:13 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
57fb0d79f9
Fix colors and alignment in dialogs 2021-11-18 22:33:45 +01:00
Loren Burkholder
f048caee69 Simplify code for padding delegates 2021-11-16 18:53:44 -05:00
Loren Burkholder
36f1bbcc02 Remove duplicate property 2021-11-16 18:40:48 -05:00
Loren Burkholder
e09af0b101 Nicer padding 2021-11-16 18:40:48 -05:00
Loren Burkholder
d645c43618 Add highlight on hover 2021-11-16 18:40:48 -05:00
Nicolas Werner
b7b4fd0e9b
Format qml 2021-11-11 21:32:38 +01:00
Loren Burkholder
2c725bd1e5 Fix clicking on avatar 2021-11-08 21:26:35 -05:00
Loren Burkholder
b5b5c95246 Use ItemDelegate for read receipts 2021-11-06 20:00:20 -04:00
Loren Burkholder
4e020645f1 Reorganize all the dialogs into the dialogs folder 2021-09-29 20:16:46 -04:00
Renamed from resources/qml/ReadReceipts.qml (Browse further)