Commit Graph

16 Commits

Author SHA1 Message Date
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