summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/contents/ui/SignaturePart.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-01 22:42:49 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-02 10:03:57 +0200
commitdd582091bc72ddf61a66d2bc3a3e0ce47f2296b5 (patch)
tree87c75371e5076b70c9cc09157f4cb88ca45a4ad2 /components/mailviewer/contents/ui/SignaturePart.qml
parent4e416d546a68513f05ef10d41d05e0a9c6d5ecf6 (diff)
downloadkube-dd582091bc72ddf61a66d2bc3a3e0ce47f2296b5.tar.gz
kube-dd582091bc72ddf61a66d2bc3a3e0ce47f2296b5.zip
Mailviewer
Diffstat (limited to 'components/mailviewer/contents/ui/SignaturePart.qml')
-rw-r--r--components/mailviewer/contents/ui/SignaturePart.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/components/mailviewer/contents/ui/SignaturePart.qml b/components/mailviewer/contents/ui/SignaturePart.qml
index 0a2fe525..5e88f963 100644
--- a/components/mailviewer/contents/ui/SignaturePart.qml
+++ b/components/mailviewer/contents/ui/SignaturePart.qml
@@ -21,14 +21,15 @@ import QtQuick 2.4
21Item { 21Item {
22 id: signature 22 id: signature
23 property alias rootIndex: visualModel.rootIndex 23 property alias rootIndex: visualModel.rootIndex
24 property bool debug: true 24 property alias model: visualModel.model
25 property alias debug: visualModel.debug
26 property variant securityLevel
27 property string type
25 height: partListView.height 28 height: partListView.height
26 width: parent.width 29 width: parent.width
27 30
28 MailDataModel { 31 MailDataModel {
29 id: visualModel 32 id: visualModel
30 debug: signature.debug
31 model: messageParser.newTree
32 } 33 }
33 Column { 34 Column {
34 id: partListView 35 id: partListView
@@ -41,7 +42,7 @@ Item {
41 Text { 42 Text {
42 width: parent.width 43 width: parent.width
43 visible: signature.debug 44 visible: signature.debug
44 text: model.type 45 text: type
45 } 46 }
46 BorderImage { 47 BorderImage {
47 width: parent.width 48 width: parent.width
@@ -49,7 +50,7 @@ Item {
49 border { left: 5; top: 5; right: 6; bottom: 6 } 50 border { left: 5; top: 5; right: 6; bottom: 6 }
50 horizontalTileMode: BorderImage.Round 51 horizontalTileMode: BorderImage.Round
51 verticalTileMode: BorderImage.Round 52 verticalTileMode: BorderImage.Round
52 source: /* "securityborders"+ */ model.securityLevel +".png" 53 source: /* "securityborders"+ */ securityLevel +".png"
53 ListView { 54 ListView {
54 model: visualModel 55 model: visualModel
55 anchors { 56 anchors {