diff options
Diffstat (limited to 'components/mailviewer/qml/EmbededPart.qml')
-rw-r--r-- | components/mailviewer/qml/EmbededPart.qml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/components/mailviewer/qml/EmbededPart.qml b/components/mailviewer/qml/EmbededPart.qml new file mode 100644 index 00000000..11d1081c --- /dev/null +++ b/components/mailviewer/qml/EmbededPart.qml | |||
@@ -0,0 +1,36 @@ | |||
1 | import QtQuick 2.4 | ||
2 | |||
3 | Item { | ||
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 | |||