Commit graph

22 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
q234rty
7b07548b77
HiDPI Fixes
Fix various downscaled icons by removing undeeded multiplications by devicePixelRatio in sourceSize.

Fix downscaled PL indicator in the timeline by using the actual size as sourceSize.

Fix various blurry icons by specifying sourceSize.
2024-02-16 16:57:31 +08:00
Nicolas Werner
2b1c9af311
More qml cleanups 2023-10-26 20:52:18 +02:00
Loren Burkholder
1c867dbbc2 Show an indicator in the timeline for mods and admins 2023-07-23 20:18:30 -04:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02: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
Loren Burkholder
0e3453660f Prevent long nicks/userids from breaking roomlist layout
Fixes #1297
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
18f4f4351a
Fix room members dialog opening room member dialog of the wrong room 2022-07-30 16:47:56 +02:00
q234rty
bda88a0379
Fix room member list 2022-06-30 11:38:22 +08:00
Nicolas Werner
db1bcd7b5a
Show powerlevels in memberlist 2022-05-07 02:30:16 +02:00
Loren Burkholder
6672e765d7
Search room members (#1049) 2022-04-22 23:59:40 +00: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
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
Loren Burkholder
8ca1b93abb Switch member dialog to using ItemDelegate 2021-11-16 18:40:48 -05:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Loren Burkholder
4e020645f1 Reorganize all the dialogs into the dialogs folder 2021-09-29 20:16:46 -04:00
Renamed from resources/qml/RoomMembers.qml (Browse further)