QML UI: show selection box on the Download from DC list

QML and C++ model don't interact too much, a new Rule
should be created and used on the QML

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-06-04 14:40:25 +02:00 committed by Dirk Hohndel
parent 78ee3f40a5
commit 03e771066b
4 changed files with 18 additions and 7 deletions

View file

@ -116,6 +116,7 @@ Kirigami.Page {
datetime: model.datetime
duration: model.duration
depth: model.depth
selected: model.selected
backgroundColor: selectAll ? Kirigami.Theme.highlightColor : Kirigami.Theme.viewBackgroundColor