diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-10 16:34:48 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-10 16:34:48 +0200 |
commit | 91f00fe588c9f00ac92f2d095c6ee9dd74c007a0 (patch) | |
tree | 147dda91a1df830cdffe2a2a8b79ba39bf8d6386 /components | |
parent | 9f89215be2612dbf54ad50c42565c310e3f4099c (diff) | |
download | kube-91f00fe588c9f00ac92f2d095c6ee9dd74c007a0.tar.gz kube-91f00fe588c9f00ac92f2d095c6ee9dd74c007a0.zip |
An outbox model
Diffstat (limited to 'components')
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml index 01501410..c7b1f7b0 100644 --- a/components/package/contents/ui/Outbox.qml +++ b/components/package/contents/ui/Outbox.qml | |||
@@ -39,7 +39,7 @@ ToolButton { | |||
39 | Rectangle { | 39 | Rectangle { |
40 | id: dialog | 40 | id: dialog |
41 | 41 | ||
42 | property int modelCount: 5 //FIXME replace with actual model | 42 | property int modelCount: listView.count |
43 | 43 | ||
44 | anchors { | 44 | anchors { |
45 | top: parent.bottom | 45 | top: parent.bottom |
@@ -68,7 +68,8 @@ ToolButton { | |||
68 | ListView { | 68 | ListView { |
69 | id: listView | 69 | id: listView |
70 | 70 | ||
71 | model: 5 | 71 | model: KubeFramework.OutboxModel { |
72 | } | ||
72 | 73 | ||
73 | delegate: Kirigami.AbstractListItem { | 74 | delegate: Kirigami.AbstractListItem { |
74 | 75 | ||
@@ -76,7 +77,7 @@ ToolButton { | |||
76 | 77 | ||
77 | Kirigami.Label { | 78 | Kirigami.Label { |
78 | anchors.centerIn: parent | 79 | anchors.centerIn: parent |
79 | text: "Subjext subxetson" | 80 | text: model.subject |
80 | } | 81 | } |
81 | } | 82 | } |
82 | } | 83 | } |