From 91f00fe588c9f00ac92f2d095c6ee9dd74c007a0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 10 Oct 2016 16:34:48 +0200 Subject: An outbox model --- components/package/contents/ui/Outbox.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'components/package/contents') 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 { Rectangle { id: dialog - property int modelCount: 5 //FIXME replace with actual model + property int modelCount: listView.count anchors { top: parent.bottom @@ -68,7 +68,8 @@ ToolButton { ListView { id: listView - model: 5 + model: KubeFramework.OutboxModel { + } delegate: Kirigami.AbstractListItem { @@ -76,7 +77,7 @@ ToolButton { Kirigami.Label { anchors.centerIn: parent - text: "Subjext subxetson" + text: model.subject } } } -- cgit v1.2.3