summaryrefslogtreecommitdiffstats
path: root/applications/kube-mail/package/contents/ui/SingleMailView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'applications/kube-mail/package/contents/ui/SingleMailView.qml')
-rw-r--r--applications/kube-mail/package/contents/ui/SingleMailView.qml64
1 files changed, 64 insertions, 0 deletions
diff --git a/applications/kube-mail/package/contents/ui/SingleMailView.qml b/applications/kube-mail/package/contents/ui/SingleMailView.qml
new file mode 100644
index 00000000..e307ccfd
--- /dev/null
+++ b/applications/kube-mail/package/contents/ui/SingleMailView.qml
@@ -0,0 +1,64 @@
1/*
2 * Copyright (C) 2015 Michael Bohlender <michael.bohlender@kdemail.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18import QtQuick 2.4
19import QtQuick.Controls 1.3
20import QtQuick.Layouts 1.1
21
22Item {
23 id: root
24
25 Rectangle {
26 id: background
27
28 anchors.fill: parent
29
30 color: colorPalette.background
31 }
32
33 Repeater {
34 anchors.fill: parent
35
36 model: singleMail.model
37
38 delegate: Item {
39 height: root.height
40 width: root.widht
41
42 ColumnLayout {
43
44 Label {
45 text: model.id
46 }
47 Label {
48 text: model.sender
49 }
50 Label {
51 text: model.senderName
52 }
53
54 Label {
55 text: model.subject
56 }
57
58 Label {
59 text: model.mimeMessage
60 }
61 }
62 }
63 }
64} \ No newline at end of file