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
aac87621dc
Streamline context menus of regular tray application and Plasmoid
...
* Support triggering actions via the context menu in the regular tray like
it is already possible in the Plasmoid
* Support copying via the context menu in the Plasmoid like it is already
possible in the regular tray
* Reduce repetition of coding patterns using templates
2020-10-07 21:42:50 +02:00
0e7cc8ba9b
Apply changed status colors without restart
2019-05-19 23:11:50 +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
ea2e26aace
Don't use newDirs/newDevs for endResetModel()
...
* These events might not be emitted in all error cases.
So it would be wrong to rely on that.
* Reduces redundant code.
2018-12-25 02:33:57 +01:00
533a5d0939
Use override
2018-10-10 21:26:46 +02:00
5932c98b1d
Use immediately invoked lambda to implement roleNames()
...
Because I can
2018-07-22 20:17:45 +02:00
030cb35dbd
Emit correct roles when colors changed
2017-09-11 23:44:19 +02:00
b90080ec0c
models: Retain default status colors
2017-09-01 17:13:01 +02:00
c8b93fc472
Make models ready for use with Qt Quick
...
by adding roleNames()
2017-08-30 00:04:35 +02:00
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
Marius Kittler
bdb05ae865
Make dir status accassible via model
2017-02-23 15:57:16 +01:00
8c6b0fd3d4
Move icon rendering to model backend
2017-02-20 18:42:27 +01:00
b5174735ad
Add option for bright custom text colors
2016-11-02 21:05:32 +01:00
6470038fc7
Refactor to allow sharing backend with other apps
...
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00