diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-09-22 10:58:19 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-09-22 10:58:19 +0200 |
commit | 9afc6c4b38b2d24783f26d82e155308af6685485 (patch) | |
tree | 0b0607f3c10a0d3e44011742389fd8071fd3da28 /components/mailviewer/qml | |
parent | 98e17d6a8ecd46a9d6956d81f781b05e940387e4 (diff) | |
download | kube-9afc6c4b38b2d24783f26d82e155308af6685485.tar.gz kube-9afc6c4b38b2d24783f26d82e155308af6685485.zip |
mailviewer: add signed part
Diffstat (limited to 'components/mailviewer/qml')
-rw-r--r-- | components/mailviewer/qml/SignedPart.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/mailviewer/qml/SignedPart.qml b/components/mailviewer/qml/SignedPart.qml new file mode 100644 index 00000000..729a2a8d --- /dev/null +++ b/components/mailviewer/qml/SignedPart.qml | |||
@@ -0,0 +1,26 @@ | |||
1 | import QtQuick 2.4 | ||
2 | import QtQuick.Controls 1.5 | ||
3 | |||
4 | Item { | ||
5 | |||
6 | height: mailPart.height + 20 | ||
7 | width: mailPart.width + 20 | ||
8 | |||
9 | BorderImage { | ||
10 | |||
11 | anchors.fill: parent | ||
12 | border { left: 40; top: 40; right: 40; bottom: 40 } | ||
13 | horizontalTileMode: BorderImage.Round | ||
14 | verticalTileMode: BorderImage.Round | ||
15 | |||
16 | source: "securityborders" + model.securityLevel + ".png" | ||
17 | } | ||
18 | |||
19 | MailPart { | ||
20 | id: mailPart | ||
21 | |||
22 | anchors.centerIn: parent | ||
23 | |||
24 | } | ||
25 | } | ||
26 | |||