Martchus
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
Martchus
0e7cc8ba9b
Apply changed status colors without restart
2019-05-19 23:11:50 +02:00
Martchus
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
Martchus
8690566992
Handle details row count changed in model
...
Required since the row count is now variable depending on
whether stats are shown or now.
2019-02-16 01:40:06 +01:00
Martchus
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
Martchus
4a42a3f0c0
Fix and refactor directory error handling
...
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
its own class
This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +01:00
Martchus
533a5d0939
Use override
2018-10-10 21:26:46 +02:00
Martchus
5932c98b1d
Use immediately invoked lambda to implement roleNames()
...
Because I can
2018-07-22 20:17:45 +02:00
Martchus
030cb35dbd
Emit correct roles when colors changed
2017-09-11 23:44:19 +02:00
Martchus
d103ceaae1
Expose path to Qt Quick in SyncthingDownloadModel
2017-09-08 17:01:51 +02:00
Martchus
b90080ec0c
models: Retain default status colors
2017-09-01 17:13:01 +02:00
Martchus
80c2a4212e
Show global/local dir status in Dolphin action
2017-08-30 00:36:49 +02:00
Martchus
c8b93fc472
Make models ready for use with Qt Quick
...
by adding roleNames()
2017-08-30 00:04:35 +02:00
Martchus
af8327ece0
Show global and local dir status
2017-08-24 01:52:07 +02:00
Martchus
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
Martchus
8c6b0fd3d4
Move icon rendering to model backend
2017-02-20 18:42:27 +01:00
Martchus
b5174735ad
Add option for bright custom text colors
2016-11-02 21:05:32 +01:00
Martchus
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