summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2018-05-24 10:17:21 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2018-05-24 10:17:21 +0200
commit0a531922cd2f04eaa3d1c8b53d3d9b5d681b6eb7 (patch)
tree3af79e51e70c1c3367c897e6a20a09080fa7a1a0
parent53db4a4aa0d40ae5201ccb42cbf7a38e25e16670 (diff)
downloadkube-0a531922cd2f04eaa3d1c8b53d3d9b5d681b6eb7.tar.gz
kube-0a531922cd2f04eaa3d1c8b53d3d9b5d681b6eb7.zip
initial todo list
-rw-r--r--views/todo/qml/View.qml37
1 files changed, 37 insertions, 0 deletions
diff --git a/views/todo/qml/View.qml b/views/todo/qml/View.qml
index 345fc5a5..bf7b7dd6 100644
--- a/views/todo/qml/View.qml
+++ b/views/todo/qml/View.qml
@@ -28,6 +28,8 @@ FocusScope {
28 RowLayout { 28 RowLayout {
29 anchors.fill: parent 29 anchors.fill: parent
30 30
31 spacing: 0
32
31 Rectangle { 33 Rectangle {
32 width: Kube.Units.gridUnit * 10 34 width: Kube.Units.gridUnit * 10
33 Layout.fillHeight: parent.height 35 Layout.fillHeight: parent.height
@@ -50,7 +52,42 @@ FocusScope {
50 } 52 }
51 53
52 Rectangle { 54 Rectangle {
55
56 Layout.fillWidth: true
57 Layout.fillHeight: true
58
53 color: Kube.Colors.backgroundColor 59 color: Kube.Colors.backgroundColor
60
61 Kube.ListView {
62 anchors.fill: parent
63
64 model: 5
65
66 delegate: Kube.ListDelegate {
67
68 Kube.Label {
69 anchors {
70 verticalCenter: parent.verticalCenter
71 left: parent.left
72 leftMargin: Kube.Units.largeSpacing
73 }
74 text: "tilte"
75 }
76
77 Row {
78 anchors {
79 verticalCenter: parent.verticalCenter
80 right: parent.right
81 rightMargin: Kube.Units.largeSpacing
82 }
83
84 Kube.IconButton {
85 iconName: Kube.Icons.listRemove
86 }
87
88 }
89 }
90 }
54 } 91 }
55 } 92 }
56} 93}