From 950fbc8b754144f675cef38d85d0178d1eb9a3be Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 6 Dec 2016 17:24:39 +0100 Subject: mailviewer mark control1 uses --- components/package/contents/ui/MailViewer.qml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'components/package') diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index 38d0d986..28414cac 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml @@ -17,8 +17,7 @@ */ import QtQuick 2.4 -import QtQuick.Controls 1.3 -import QtQuick.Controls 1.4 +import QtQuick.Controls 1.4 as Controls1 import QtQuick.Layouts 1.1 import org.kube.framework.domain 1.0 as KubeFramework @@ -57,7 +56,7 @@ Item { //END old mail viewer - TreeView { + Controls1.TreeView { id: attachments anchors { top: newMailViewer.bottom @@ -66,32 +65,32 @@ Item { //visible: messageParser.attachments.rowCount() > 0 width: parent.width height: 200 - TableViewColumn { + Controls1.TableViewColumn { role: "name" title: "Filename" width: 300 } - TableViewColumn { + Controls1.TableViewColumn { role: "type" title: "Type" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "icon" title: "Icon" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "size" title: "Size" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "encrypted" title: "Encrypted" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "signed" title: "Signed" width: 60 @@ -99,28 +98,28 @@ Item { model: messageParser.attachments } - TreeView { + Controls1.TreeView { id: mailStructure anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : newMailViewer.bottom visible: newMailViewer.debug width: parent.width height: 400 - TableViewColumn { + Controls1.TableViewColumn { role: "type" title: "Type" width: 300 } - TableViewColumn { + Controls1.TableViewColumn { role: "embeded" title: "Embeded" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "securityLevel" title: "SecurityLevel" width: 60 } - TableViewColumn { + Controls1.TableViewColumn { role: "content" title: "Content" width: 200 -- cgit v1.2.3