114faa6cf3
Improve attribution notice for icons
...
* State copyright and license
* See https://github.com/Martchus/syncthingtray/issues/150
2022-08-25 21:02:05 +02:00
01f722c690
Unify code for about dialog image and attribution
...
It is the same for all components so define it at one place.
2022-08-25 20:35:02 +02:00
e1b9f557f7
Apply clang-format
2022-02-07 17:26:46 +01:00
3e38a9917e
Use colors from Plasma theme in Plasmoid
...
One might configure a light color theme for applications and a dark theme
for Plasma (or vice versa) so this is an important difference, see
https://github.com/Martchus/syncthingtray/issues/126 .
2022-02-02 22:38:36 +01:00
e81166cd79
Fix several warnings when building against Qt 6
2021-11-04 00:16:27 +01:00
19bede39a2
Simplify coloring of common ForkAwesome icons
...
The normal QPalette can be used to determine the icon color so it is
unnecessary to use the flag for custom bright colors here (which is only
intended for colors which are not on the standard QPalette).
2021-10-16 21:20:12 +02:00
1d239cca51
Avoid multiple definitions error when building models as static lib itself
2021-09-11 21:37:43 +02:00
68bc50d46c
Ensure resource for font file of static qtfontawesome is not dropped
2021-09-11 20:02:05 +02:00
66448a0774
Adapt to changes in qtforkawesome
2021-09-11 16:45:09 +02:00
43fcb9f71b
Migrate to ForkAwesome
...
* FontAwesome uses a propritary build system so let's move to its fork
ForkAwesome similar to Syncthing
* See https://github.com/syncthing/syncthing/pull/5237
* Bundle the font file instead of having the SVGs directly within
Syncthing Tray's own repository
2021-09-11 02:20:38 +02:00
ac033517cc
Allow configuring rendering size of status icons
...
The default of 32 px should be fine in most cases and when the UI is scaled
it is also automatically scaled. However, if one has a tray area or Plasma
panel with extraordinarily big icons like latte-dock it might still be
required to render icons at a higher resolution. This is hard to determine
programmatically so I'm just adding a manual setting.
2021-04-21 18:23:20 +02:00
832fec0ffe
Use more uniform coding style in syncthingicons.cpp
2021-03-24 20:02:07 +01:00
f75966aadc
Fix warnings
2021-03-20 22:39:40 +01:00
bacca0241a
Fix build with Qt 6 (beta1)
2020-10-23 17:04:35 +02:00
119609631f
Fix Font Awesome icons
2020-09-08 12:44:41 +02:00
3b49e9e312
Support Qt 6 (commit 174154b)
2020-09-04 01:09:18 +02:00
c0e2e0bce1
Apply clang-format
2020-07-12 21:17:34 +02:00
5b2147a874
Apply scaling in renderSvgImage() similar to QIcon::pixmap() does
2020-07-12 02:38:57 +02:00
05e49c86ce
Improve color picker for icons
...
* Add note about Drag & Drop
* Allow picking from multiple presets
2019-11-19 19:33:58 +01:00
353f1e2463
Allow to distinguish icon colors within UI and system tray
...
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.
For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
9e6fe83a8d
Make status icon settings translatable
2019-06-16 16:57:58 +02:00
25ece5b401
Fix icons in DBusStatusNotifier
2019-05-26 23:13:43 +02:00
96ed888e20
Allow customizing foreground color of status icons
2019-05-21 17:56:08 +02:00
0e7cc8ba9b
Apply changed status colors without restart
2019-05-19 23:11:50 +02:00
96dc7a535c
Support transparency in status icon colors
2019-05-19 21:22:46 +02:00
05da0465a7
Allow customizing status icon colors
2019-05-19 17:57:37 +02:00
92607c3d89
Generate status icons dynamically
...
To allow configuring flat icons and custom colors in the future
2019-05-19 01:49:21 +02:00
2ab88c5766
Add font awesome icons to models
...
So it looks a bit more like the official UI.
2019-02-27 20:41:50 +01:00
c7927c3f2e
Keep aspect ratio when rendering SVG images
...
Also, allow to add margin to the pixmap.
2019-02-27 20:38:14 +01:00
a3a09297f7
Render font awesome icons in color from QPalette
...
Since theres apparently no API in the Qt Svg module to support
this the change introduced here simply replaces in the SVG
document itself.
2019-02-23 13:55:46 +01:00
aa9f88df94
Add Syncthing '+' icon
2018-05-01 22:25:05 +02:00
71bcdd0c45
Add notification images (DBus-only)
2018-03-18 03:09:07 +01:00
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
8c6b0fd3d4
Move icon rendering to model backend
2017-02-20 18:42:27 +01:00