summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailListView.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-07-27 12:49:26 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-07-27 12:49:26 +0200
commit04458495ac32a86b8856b6a5b6e3da37bfff820f (patch)
tree8d3e5fca22a94ed1081165f2db463f27e70662de /framework/qml/MailListView.qml
parent3c52f4941f4274a51587dd5ca71ade7b17964dcc (diff)
downloadkube-04458495ac32a86b8856b6a5b6e3da37bfff820f.tar.gz
kube-04458495ac32a86b8856b6a5b6e3da37bfff820f.zip
add checkbox to MailListView in preparation for batch editing
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r--framework/qml/MailListView.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index fe041d58..4cd4a19f 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -149,11 +149,18 @@ FocusScope {
149 } 149 }
150 property color unreadColor: (model.unread && !delegateRoot.highlighted) ? Kube.Colors.highlightColor : delegateRoot.textColor 150 property color unreadColor: (model.unread && !delegateRoot.highlighted) ? Kube.Colors.highlightColor : delegateRoot.textColor
151 151
152 Kube.CheckBox {
153 id: checkBox
154
155 anchors.verticalCenter: parent.verticalCenter
156 visible: (checked || delegateRoot.hovered) && !mouseArea.drag.active
157 }
158
152 Column { 159 Column {
153 anchors { 160 anchors {
154 verticalCenter: parent.verticalCenter 161 verticalCenter: parent.verticalCenter
155 left: parent.left 162 left: parent.left
156 leftMargin: Kube.Units.largeSpacing 163 leftMargin: checkBox.width + Kube.Units.smallSpacing
157 } 164 }
158 165
159 Kube.Label{ 166 Kube.Label{