From dd582091bc72ddf61a66d2bc3a3e0ce47f2296b5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 1 May 2017 22:42:49 +0200 Subject: Mailviewer --- components/mailviewer/contents/ui/SignaturePart.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'components/mailviewer/contents/ui/SignaturePart.qml') 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 Item { id: signature property alias rootIndex: visualModel.rootIndex - property bool debug: true + property alias model: visualModel.model + property alias debug: visualModel.debug + property variant securityLevel + property string type height: partListView.height width: parent.width MailDataModel { id: visualModel - debug: signature.debug - model: messageParser.newTree } Column { id: partListView @@ -41,7 +42,7 @@ Item { Text { width: parent.width visible: signature.debug - text: model.type + text: type } BorderImage { width: parent.width @@ -49,7 +50,7 @@ Item { border { left: 5; top: 5; right: 6; bottom: 6 } horizontalTileMode: BorderImage.Round verticalTileMode: BorderImage.Round - source: /* "securityborders"+ */ model.securityLevel +".png" + source: /* "securityborders"+ */ securityLevel +".png" ListView { model: visualModel anchors { -- cgit v1.2.3