summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/EmbededPart.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-09-05 16:26:34 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-09-15 09:00:15 +0200
commitf29e0ca5670bb683548e158c9ca5d0a7b05555a2 (patch)
tree13ffa202e86488a0f955c69aaf717a0fcc823401 /components/mailviewer/qml/EmbededPart.qml
parent79fe32350cf20b2bc6eb76780804fd74b7efa2d2 (diff)
downloadkube-f29e0ca5670bb683548e158c9ca5d0a7b05555a2.tar.gz
kube-f29e0ca5670bb683548e158c9ca5d0a7b05555a2.zip
mailviewer: move qml files to dedicated folder
Diffstat (limited to 'components/mailviewer/qml/EmbededPart.qml')
-rw-r--r--components/mailviewer/qml/EmbededPart.qml36
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 @@
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