Commit graph

18 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
Loren Burkholder
6b41c77dad
Use @user:example.com for all sample mxids 2023-09-23 21:57:05 -04:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Loren Burkholder
24d401365e Always open the invite dialog properly from the member list 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
Malte E
5ed3bfc8f8
add user search to invite dialog (#1253) 2023-01-31 16:59:49 +00: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
b1c1274d96 Allow removing users from the invite dialog 2021-11-16 18:40:48 -05:00
Loren Burkholder
e09af0b101 Nicer padding 2021-11-16 18:40:48 -05:00
Loren Burkholder
f095352a2c Add pointing hand cursor shape 2021-11-16 18:40:48 -05:00
Loren Burkholder
07aa89cca1 Port invite dialog to use ItemDelegate 2021-11-16 18:40:48 -05:00
Loren Burkholder
4e020645f1 Reorganize all the dialogs into the dialogs folder 2021-09-29 20:16:46 -04:00
Renamed from resources/qml/InviteDialog.qml (Browse further)