Commit graph

27 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
FallenValkyrie
c254697eaa
move destroyOnClose into ImagePackSettingsDialog 2023-12-19 16:33:54 +01:00
FallenValkyrie
adc7fb8655
remove unnecessary destryoOnClose 2023-12-16 15:48:11 +01:00
FallenValkyrie
2aefe78a63
Integrate ImagePackDeleteDialog in ImagePackSettingsDialog as delete confirmation 2023-12-16 15:48:11 +01:00
Nicolas Werner
2b1c9af311
More qml cleanups 2023-10-26 20:52:18 +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
tastytea
ead02fb654
make name and attribution in image pack settings plain text
Otherwise, <foo> would be swallowed.
2023-03-24 18:19:43 +01: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
e144c5741f
Implement space stickers & emoji 2022-09-01 13:25:11 +02:00
Nicolas Werner
7a11b69f99
Fix images being cropped instead of scaled 2022-03-09 20:15:37 +01:00
Nicolas Werner
ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Nicolas Werner
aaae72a4f2
Fix focus and qml parenting with qml root 2022-01-26 21:44:13 +01:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +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
d46e517e3a
Only show room pack button, when you can actually create one 2021-12-13 23:25:42 +01:00
Nicolas Werner
2974c541c5
Misc pack editor improvements 2021-12-13 06:18:30 +01:00
Joseph Donofry
c7545cb455 Fix a few jdenticon bugs 2021-09-14 18:39:57 -04:00
Loren Burkholder
8e5f91a579 Use better jdenticon codes/id settings 2021-09-11 19:35:31 -04:00
Loren Burkholder
17729ce662 Fix jdenticons in various places 2021-09-11 19:35:31 -04:00
Loren Burkholder
3a86d44c1e Finish getting all avatars jdenticonified 2021-09-11 19:35:31 -04:00
Joseph Donofry
9504d02f18 Add Qt.WindowTitleHint to qml dialogs 2021-08-19 10:55:54 -04:00
Nicolas Werner
e5a6b2b6ef
Allow creating new packs 2021-08-06 04:31:53 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor 2021-08-06 04:31:53 +02:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Nicolas Werner
eafbab6ae1
Add menu to enable or disable stickers globally 2021-07-23 17:43:17 +02:00