summaryrefslogtreecommitdiffstats
path: root/components/mailviewer
diff options
context:
space:
mode:
Diffstat (limited to 'components/mailviewer')
-rw-r--r--components/mailviewer/EmbededPart.qml36
1 files changed, 36 insertions, 0 deletions
diff --git a/components/mailviewer/EmbededPart.qml b/components/mailviewer/EmbededPart.qml
new file mode 100644
index 00000000..11d1081c
--- /dev/null
+++ b/components/mailviewer/EmbededPart.qml
@@ -0,0 +1,36 @@
1import QtQuick 2.4
2
3Item {
4
5 height: mailPart.height
6 width: mailPart.width
7
8
9 Rectangle {
10 id: border
11 color: "lightgrey"
12 height: mailPart.height
13 width: 5
14 }
15
16 Text {
17 id: sender
18
19 anchors {
20 left: border.right
21 leftMargin: 15
22 }
23
24 text: "sent by " + model.sender + " on " + model.date
25 color: "grey"
26 }
27
28 MailPart {
29 id: mailPart
30
31 anchors.top: sender.bottom
32
33 }
34
35}
36