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
b6f71a8bc2 Add close button and room open button to room directory dialog 2023-09-29 22:49:45 -04:00
Nicolas Werner
c25d0c6b2f
Get rid of scrollhelper 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02: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
8f49ad9490 Fix window decorations on macos for room dir dialog
fixes #1114
2022-07-18 23:28:27 +02:00
Nicolas Werner
af03138527
Try to fix titlebar on room dir 2022-07-09 16:05:18 +02:00
Nicolas Werner
7ebf43ce38
Fix crash when closing room directory window 2022-07-01 00:41:50 +02:00
Loren Burkholder
5dc94447b9 Focus room search 2022-04-18 14:44:35 -04:00
Malte E
3d8e5c0028 make room directory fit mobile screens 2022-02-21 22:41:02 +01:00
Nicolas Werner
4a80fdc951
Functional login page 2022-01-26 21:44:13 +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
Loren Burkholder
0c2522684b Auto-focus search bar in room directory 2021-10-28 21:44:24 -04:00
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
Loren Burkholder
4e020645f1 Reorganize all the dialogs into the dialogs folder 2021-09-29 20:16:46 -04:00
Renamed from resources/qml/RoomDirectory.qml (Browse further)