diff options
Diffstat (limited to 'applications/kube-mail/package/contents/ui/SingleMailView.qml')
-rw-r--r-- | applications/kube-mail/package/contents/ui/SingleMailView.qml | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/applications/kube-mail/package/contents/ui/SingleMailView.qml b/applications/kube-mail/package/contents/ui/SingleMailView.qml deleted file mode 100644 index d6ae4bfa..00000000 --- a/applications/kube-mail/package/contents/ui/SingleMailView.qml +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
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 | |||
18 | import QtQuick 2.4 | ||
19 | import QtQuick.Controls 1.3 | ||
20 | import QtQuick.Layouts 1.1 | ||
21 | |||
22 | import org.kde.kube.mail 1.0 as Mail | ||
23 | |||
24 | Item { | ||
25 | id: root | ||
26 | property variant mail; | ||
27 | |||
28 | Rectangle { | ||
29 | id: background | ||
30 | |||
31 | anchors.fill: parent | ||
32 | |||
33 | color: colorPalette.background | ||
34 | } | ||
35 | |||
36 | Repeater { | ||
37 | anchors.fill: parent | ||
38 | |||
39 | model: Mail.MailListModel { | ||
40 | mail: root.mail | ||
41 | } | ||
42 | |||
43 | delegate: Item { | ||
44 | anchors.fill: parent | ||
45 | |||
46 | ColumnLayout { | ||
47 | anchors.fill: parent | ||
48 | |||
49 | Label { | ||
50 | text: model.id | ||
51 | } | ||
52 | |||
53 | Label { | ||
54 | text: model.sender | ||
55 | } | ||
56 | |||
57 | Label { | ||
58 | text: model.senderName | ||
59 | } | ||
60 | |||
61 | Label { | ||
62 | text: model.subject | ||
63 | } | ||
64 | |||
65 | MailViewer { | ||
66 | message: model.mimeMessage | ||
67 | Layout.fillHeight: true | ||
68 | Layout.fillWidth: true | ||
69 | } | ||
70 | |||
71 | } | ||
72 | } | ||
73 | } | ||
74 | } | ||