From 681286a47b12a4a192e0d03eb2a2f30551819758 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 24 May 2017 14:17:57 +0200 Subject: Attachment debug view --- framework/qml/MailViewer.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'framework/qml') diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index 275158eb..b475f591 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -453,6 +453,24 @@ Rectangle { } } } + Controls1.TreeView { + id: attachmentsTree + width: parent.width + height: implicitHeight + Controls1.TableViewColumn { + role: "type" + title: "Type" + } + Controls1.TableViewColumn { + role: "name" + title: "Name" + } + Controls1.TableViewColumn { + role: "size" + title: "Size" + } + model: messageParser.attachments + } TextEdit { id: textEdit width: parent.width -- cgit v1.2.3