diff options
Diffstat (limited to 'components/package')
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 1 | ||||
-rw-r--r-- | components/package/contents/ui/ListItem.qml | 1 | ||||
-rw-r--r-- | components/package/contents/ui/MailListView.qml | 8 | ||||
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 7 | ||||
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 1 |
5 files changed, 11 insertions, 7 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index bf4263c4..41f152de 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -24,7 +24,6 @@ import QtQuick.Layouts 1.1 | |||
24 | import org.kde.kirigami 1.0 as Kirigami | 24 | import org.kde.kirigami 1.0 as Kirigami |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | import org.kube.framework.theme 1.0 | ||
28 | 27 | ||
29 | Item { | 28 | Item { |
30 | id: root | 29 | id: root |
diff --git a/components/package/contents/ui/ListItem.qml b/components/package/contents/ui/ListItem.qml index 0f3b7af9..165ac3ab 100644 --- a/components/package/contents/ui/ListItem.qml +++ b/components/package/contents/ui/ListItem.qml | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import org.kube.framework.theme 1.0 | ||
21 | 20 | ||
22 | Item { | 21 | Item { |
23 | id: delegateRoot | 22 | id: delegateRoot |
diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml index ff71e43e..cda8bbda 100644 --- a/components/package/contents/ui/MailListView.qml +++ b/components/package/contents/ui/MailListView.qml | |||
@@ -24,7 +24,6 @@ import QtQml 2.2 as QtQml | |||
24 | import org.kde.kirigami 1.0 as Kirigami | 24 | import org.kde.kirigami 1.0 as Kirigami |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | import org.kube.framework.theme 1.0 | ||
28 | 27 | ||
29 | Controls.ScrollView { | 28 | Controls.ScrollView { |
30 | id: root | 29 | id: root |
@@ -127,6 +126,13 @@ Controls.ScrollView { | |||
127 | color: Kirigami.Theme.textColor | 126 | color: Kirigami.Theme.textColor |
128 | } | 127 | } |
129 | } | 128 | } |
129 | Text { | ||
130 | text: model.threadSize | ||
131 | |||
132 | renderType: Text.NativeRendering | ||
133 | font.weight: Font.Light | ||
134 | color: Kirigami.Theme.textColor | ||
135 | } | ||
130 | } | 136 | } |
131 | } | 137 | } |
132 | } | 138 | } |
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 | } |
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index b06216dd..73dedc7e 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml | |||
@@ -24,7 +24,6 @@ import org.kde.kirigami 1.0 as Kirigami | |||
24 | import QtQml 2.2 as QtQml | 24 | import QtQml 2.2 as QtQml |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | import org.kube.framework.theme 1.0 | ||
28 | 27 | ||
29 | Item { | 28 | Item { |
30 | id: root | 29 | id: root |