Commit graph

9 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
904d3f257a
Fix some qml warnings 2023-10-26 02:31:31 +02:00
NepNep21
ad68cd8b4c
Switch to X icon and add close button 2023-10-25 19:38:04 -03:00
NepNep21
0b28e7934d
Move dialog to settings page and add avatar image to delegate 2023-10-24 19:46:04 -03:00
NepNep21
7c9fed91b8
Fix license lint... 2023-10-01 22:52:40 -03:00
NepNep21
4eaba191de
Use properties 2023-10-01 22:52:40 -03:00
NepNep21
6a6384babe
Move comments to proper reviews 2023-10-01 22:52:40 -03:00
NepNep21
563bb0a651
UI improvements 2023-10-01 22:52:39 -03:00
NepNep21
d1ba9fd878
Rebase 2023-10-01 22:52:31 -03:00