Commit Graph

71 Commits

Author SHA1 Message Date
Martchus d363a5c9b0 Apply clang-format 2024-02-29 14:10:01 +01:00
Martchus ef08f63715 Apply change of `global.h` template 2024-02-22 19:42:43 +01:00
Martchus bb2030c964 Avoid too big icons in certain cases
When setting the scale factor of the primary screen to e.g. 100 % and the
scale factor of the second screen to something higher like 200 % the icons
appear too big on buttons and tabs. This is because icons are apparently
just rendered with the required size and the scale factor should therefore
not be applied.

This change adds overloads to specify a scale factor manually and uses a
scale factor of 1.0 for icons. The icons do not look blurry afterwards but
are also not too big anymore in the mentioned case. So this is probably how
it is supposed to be done.
2024-02-22 00:59:42 +01:00
Martchus 44776c210e Allow associating a paint device with the renderer for device-pixel-ratio 2024-02-22 00:59:42 +01:00
Martchus ce8e535d0e Update copyright date 2024-02-22 00:59:42 +01:00
Martchus 63ce4c79c6 Bump minor version 2024-02-22 00:59:42 +01:00
Martchus 3ec0824d3e Update outdated link in "Providing the font file" section
* Releases seem to be no longer present
* Link directly to the relevant directories/files
* Mention the automatic download before going into all the details of
  supplying the files manually
2023-11-23 18:53:13 +01:00
Martchus 6c5b63ec3b Update copyright date 2023-09-09 00:04:07 +02:00
Martchus 79f421c624 Avoid CMake deprecation warning by bumping version 2023-07-23 21:00:45 +02:00
Martchus 29fb3ca956 Apply cmake-format 2023-04-02 18:31:40 +02:00
Martchus fd14d3c502 Workaround CMake being unable to override symlink on Windows
The documentation says "If <linkname> already exists, it will
be overwritten.". This seems to be the case on GNU/Linux but
on Windows with CMake 3.24.2 (as provided by the official Qt
installer) I've nevertheless got an error.
2023-03-23 21:10:05 +01:00
Martchus e3d82ad643 Verify TLS cert when downloading font 2023-03-04 19:04:55 +01:00
Martchus 2cb41fd6ba Add note about using Perl from MSYS2 2023-02-26 19:28:03 +01:00
Martchus f725c3bee3 Fail at configuration time if Perl can not be found with obvious error 2023-02-26 19:28:03 +01:00
Martchus c77be09ca0 Bump patch version 2023-02-26 19:28:03 +01:00
Martchus 48827d29d5 Avoid warning about shadowing variable 2022-10-30 21:23:10 +01:00
Martchus cc5aa18a5f Format tests 2022-10-16 15:12:55 +02:00
Martchus 5e614118d3 Allow clearing overrides 2022-10-16 15:12:44 +02:00
Martchus 34aacf236b Allow specifying icon for an override directly 2022-10-07 00:34:27 +02:00
Martchus 0add8e8f91 Improve theme override
* Add caching
* Allow adding multiple icon names
2022-10-06 23:21:59 +02:00
Martchus 855b3af38b Add experimental theme override
See https://github.com/Martchus/syncthingtray/issues/121
2022-10-03 14:34:17 +02:00
Martchus 65b3838b81 Bump minor version 2022-10-03 14:34:17 +02:00
Martchus 2fcc5debcd Add global renderer instance to allow accessing renderer of icon engine 2022-09-18 14:51:23 +02:00
Martchus 45dc4c7291 Remove extra handling for Qt 6 in `QuickImageProvider`
This is no longer required since qtdeclarative commit
b5d18be5a03406d0aac83856dd41e1525fd14a28.
2022-09-17 20:23:05 +02:00
Martchus 145fd5a8e1 Decouple ABI version from API version
Set the ABI version (used in so/DLL name) to 1 and increment it on an ABI
break (but only once within one release cycle). This way we don't need to
increment it on every patch release but also don't need to make a new major
release on every ABI break.

Keep the API version as is (using semantic versioning).
2022-09-11 13:13:46 +02:00
Martchus 1c92ea5bce Declare publicly used Qt modules 2022-08-09 11:08:18 +02:00
Martchus f4ad5fefc3 Bump patch version 2022-08-09 10:34:02 +02:00
Martchus d6293b7084 Make use of improved linking against static platform plugins for tests 2022-04-28 21:50:26 +02:00
Martchus a0b31d8ddd Add stalebot config 2022-04-12 01:04:40 +02:00
Martchus 78ccb5c870 Add copyright notice 2022-04-05 20:11:47 +02:00
Martchus 8be5b2be7d Increment patch version 2022-03-15 21:32:49 +01:00
Martchus 2d2cf96eb9 Clarify that license is "GPL-2-or-later" 2022-03-15 21:30:27 +01:00
Martchus 860209ce7d Add property to set default color/size of QuickImageProvider 2022-02-02 22:31:14 +01:00
Martchus 4e15167f51 Add link to ForkAwesome website 2021-11-02 18:04:18 +01:00
Martchus 10d694a7fa
Merge pull request #3 from hrittich/upstream-patches
Create symbolic link to font file.
2021-10-31 02:26:05 +02:00
Hannah Rittich c4946f9a67 Create symbolic link to font file. 2021-10-30 23:17:09 +02:00
Martchus 2a25904331 Mention dependency to Qt Quick 2021-10-25 18:44:18 +02:00
Martchus 9b71eff21b Mark all renderer functions as const as they don't change the object 2021-10-15 22:57:19 +02:00
Martchus 5c9fe92ff6 Enable `qtquickforkawesome` by default 2021-10-15 22:13:59 +02:00
Martchus 009c722c89 Rename library for QQuickImageProvider to `qtquickforkawesome`
It makes sense to have *one* extra library for all Qt Quick related
features so the library should just be called `qtquickforkawesome` instead
of using a name specific to `QQuickImageProvider`.
2021-10-15 19:58:06 +02:00
Martchus 8d872ca461 Add a QQuickImageProvider 2021-10-10 23:24:41 +02:00
Martchus 5c818baf0b Bump patch version 2021-10-07 18:29:56 +02:00
Martchus 0c342a5055 Fix compilation against Qt 5.6 2021-10-06 01:00:23 +02:00
Martchus ebbce53c0d Apply cmake-format 2021-10-03 23:06:33 +02:00
Martchus 7db709aa6f
Merge pull request #1 from hrittich/upstream-patches
Allow to find packages in namespaces
2021-10-03 19:51:43 +02:00
Hannah Rittich b8e9f786b7 Allow to find packages in namespaces 2021-10-03 19:22:55 +02:00
Martchus 546fb0ec56 Apply clang-format 2021-09-22 11:16:50 +02:00
Martchus c0c8efaf13 Exclude generated files from being processed by Qt's tools
This should suppress warning about CMP0071.
2021-09-22 11:16:40 +02:00
Martchus 2cd6c54100 Use woff2 only by default under Linux as only there FreeType2 is used by default 2021-09-22 11:16:09 +02:00
Martchus f94c15a53f Extend README.md 2021-09-16 22:27:48 +02:00