diff options
Diffstat (limited to 'components/mailviewer')
-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 | |||