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
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
4bf725379a
Fix adding duplicate stickers and strip file extension
2023-05-20 00:57:51 +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
tastytea
a7388a70be
Use standard buttons where possible
...
Standard buttons are ordered in the right way and sometimes have an
icon.
Bug: https://matrix.to/#/%23nheko%3Anheko.im/%2476PZ2m6YftX8mqGIe9ettKbh_-pEYeVRQSJBfwFzWi0?via=pixie.town&via=matrix.org&via=matrix.flexinos.tech&via=half-shot.uk
2022-03-11 13:15:26 +01:00
Nicolas Werner
7a11b69f99
Fix images being cropped instead of scaled
2022-03-09 20:15:37 +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
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
2974c541c5
Misc pack editor improvements
2021-12-13 06:18:30 +01:00
Nicolas Werner
bb600dd3d1
Show some avatar for image packs
2021-12-13 06:00:32 +01:00
tastytea
0516892759
Allow JPEG in image picker for stickers and emotes.
...
The file ending list is translated, so all the translations are updated
too.
2021-10-15 16:51:20 +02: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
Nicolas Werner
ded926cdf9
Fix a few null warnings
2021-08-29 19:24:44 +02:00
Nicolas Werner
374ad0a816
Small image pack editor improvements
...
- add missing mimetype
- allow removal of images from pack
- allow GIF as a format
- don't divide size by 2 if the image is very small already
2021-08-29 17:22:49 +02:00
Joseph Donofry
9504d02f18
Add Qt.WindowTitleHint to qml dialogs
2021-08-19 10:55:54 -04:00
Nicolas Werner
89840b9e0b
AttrIbution
2021-08-08 21:18:05 +02:00
Nicolas Werner
e5a6b2b6ef
Allow creating new packs
2021-08-06 04:31:53 +02:00
Nicolas Werner
16d0190f4e
Allow uploading additional stickers
2021-08-06 04:31:53 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor
2021-08-06 04:31:53 +02:00