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
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
f725c3bee3
Fail at configuration time if Perl can not be found with obvious error
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
2fcc5debcd
Add global renderer instance to allow accessing renderer of icon engine
2022-09-18 14:51:23 +02:00
Martchus
1c92ea5bce
Declare publicly used Qt modules
2022-08-09 11:08:18 +02:00
Martchus
d6293b7084
Make use of improved linking against static platform plugins for tests
2022-04-28 21:50:26 +02:00
Hannah Rittich
c4946f9a67
Create symbolic link to font file.
2021-10-30 23:17:09 +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
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
276033df9c
Prefix resource for font file so it is less likely to cause name conflicts
2021-09-16 18:33:09 +02:00
Martchus
bec5b7bfd7
Workaround moc parse errors on Fedora 33 and 34 builds
2021-09-15 18:04:47 +02:00
Martchus
fbf820d538
Add a basic QIconEnginePlugin for ForkAwesome
2021-09-13 20:57:23 +02:00
Martchus
c153c863c4
Remove include guards wrongly added to source file
2021-09-13 20:50:14 +02:00
Martchus
5e099fc14b
Move files into sub directory to be able to add additional targets later
2021-09-13 20:50:14 +02:00