summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-12-06 17:24:39 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-12-06 17:24:39 +0100
commit950fbc8b754144f675cef38d85d0178d1eb9a3be (patch)
tree41b9f3a4bdb696610e63a8acaa1f308267ce16a9
parent2f1832a0b94d46beaacfc159acc6029e66b14a68 (diff)
downloadkube-950fbc8b754144f675cef38d85d0178d1eb9a3be.tar.gz
kube-950fbc8b754144f675cef38d85d0178d1eb9a3be.zip
mailviewer mark control1 uses
-rw-r--r--components/package/contents/ui/MailViewer.qml27
1 files changed, 13 insertions, 14 deletions
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 @@
17 */ 17 */
18 18
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Controls 1.3 20import QtQuick.Controls 1.4 as Controls1
21import QtQuick.Controls 1.4
22import QtQuick.Layouts 1.1 21import QtQuick.Layouts 1.1
23 22
24import org.kube.framework.domain 1.0 as KubeFramework 23import org.kube.framework.domain 1.0 as KubeFramework
@@ -57,7 +56,7 @@ Item {
57 56
58 //END old mail viewer 57 //END old mail viewer
59 58
60 TreeView { 59 Controls1.TreeView {
61 id: attachments 60 id: attachments
62 anchors { 61 anchors {
63 top: newMailViewer.bottom 62 top: newMailViewer.bottom
@@ -66,32 +65,32 @@ Item {
66 //visible: messageParser.attachments.rowCount() > 0 65 //visible: messageParser.attachments.rowCount() > 0
67 width: parent.width 66 width: parent.width
68 height: 200 67 height: 200
69 TableViewColumn { 68 Controls1.TableViewColumn {
70 role: "name" 69 role: "name"
71 title: "Filename" 70 title: "Filename"
72 width: 300 71 width: 300
73 } 72 }
74 TableViewColumn { 73 Controls1.TableViewColumn {
75 role: "type" 74 role: "type"
76 title: "Type" 75 title: "Type"
77 width: 60 76 width: 60
78 } 77 }
79 TableViewColumn { 78 Controls1.TableViewColumn {
80 role: "icon" 79 role: "icon"
81 title: "Icon" 80 title: "Icon"
82 width: 60 81 width: 60
83 } 82 }
84 TableViewColumn { 83 Controls1.TableViewColumn {
85 role: "size" 84 role: "size"
86 title: "Size" 85 title: "Size"
87 width: 60 86 width: 60
88 } 87 }
89 TableViewColumn { 88 Controls1.TableViewColumn {
90 role: "encrypted" 89 role: "encrypted"
91 title: "Encrypted" 90 title: "Encrypted"
92 width: 60 91 width: 60
93 } 92 }
94 TableViewColumn { 93 Controls1.TableViewColumn {
95 role: "signed" 94 role: "signed"
96 title: "Signed" 95 title: "Signed"
97 width: 60 96 width: 60
@@ -99,28 +98,28 @@ Item {
99 model: messageParser.attachments 98 model: messageParser.attachments
100 } 99 }
101 100
102 TreeView { 101 Controls1.TreeView {
103 id: mailStructure 102 id: mailStructure
104 anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : newMailViewer.bottom 103 anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : newMailViewer.bottom
105 visible: newMailViewer.debug 104 visible: newMailViewer.debug
106 width: parent.width 105 width: parent.width
107 height: 400 106 height: 400
108 TableViewColumn { 107 Controls1.TableViewColumn {
109 role: "type" 108 role: "type"
110 title: "Type" 109 title: "Type"
111 width: 300 110 width: 300
112 } 111 }
113 TableViewColumn { 112 Controls1.TableViewColumn {
114 role: "embeded" 113 role: "embeded"
115 title: "Embeded" 114 title: "Embeded"
116 width: 60 115 width: 60
117 } 116 }
118 TableViewColumn { 117 Controls1.TableViewColumn {
119 role: "securityLevel" 118 role: "securityLevel"
120 title: "SecurityLevel" 119 title: "SecurityLevel"
121 width: 60 120 width: 60
122 } 121 }
123 TableViewColumn { 122 Controls1.TableViewColumn {
124 role: "content" 123 role: "content"
125 title: "Content" 124 title: "Content"
126 width: 200 125 width: 200