diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-28 18:09:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-28 18:09:48 +0100 |
commit | 31fc464ee7a2f6a34bbfec77a551721a6b334b5f (patch) | |
tree | cfd79edeb6eb1cc2636d0ef9af6f47fe82358f1f /components/package/contents/ui/MailViewer.qml | |
parent | bd4caf4e8d3b525848e542f367c535c5b6a0a101 (diff) | |
download | kube-31fc464ee7a2f6a34bbfec77a551721a6b334b5f.tar.gz kube-31fc464ee7a2f6a34bbfec77a551721a6b334b5f.zip |
Removed the old mailviewer.
That way I also don't try to edit outdated invisible components to fix
bugs...
Diffstat (limited to 'components/package/contents/ui/MailViewer.qml')
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index 150ee5aa..4ee170bd 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -27,40 +27,21 @@ Item { | |||
27 | id: root | 27 | id: root |
28 | property variant message; | 28 | property variant message; |
29 | property string html; | 29 | property string html; |
30 | property int desiredHeight: topPartLoader.height + newMailViewer.height + 20 | 30 | property int desiredHeight: mailViewer.height + 20 |
31 | property variant attachments | 31 | property variant attachments |
32 | 32 | ||
33 | clip: true | 33 | clip: true |
34 | 34 | ||
35 | MV.MailViewer { | 35 | MV.MailViewer { |
36 | id: newMailViewer | 36 | id: mailViewer |
37 | debug: false | 37 | debug: false |
38 | width: parent.width | 38 | width: parent.width |
39 | } | 39 | } |
40 | 40 | ||
41 | //BEGIN old mail viewer | ||
42 | |||
43 | MessagePartTree { | ||
44 | id: topPartLoader | ||
45 | anchors.top: newMailViewer.bottom | ||
46 | |||
47 | Text { | ||
48 | text: "old mailviewer" | ||
49 | color: "blue" | ||
50 | } | ||
51 | |||
52 | visible: false | ||
53 | // width: parent.width | ||
54 | height: topPartLoader.contentHeight | ||
55 | width: topPartLoader.contentWidth >= parent.width ? topPartLoader.contentWidth : parent.width | ||
56 | } | ||
57 | |||
58 | //END old mail viewer | ||
59 | |||
60 | Controls1.TreeView { | 41 | Controls1.TreeView { |
61 | id: mailStructure | 42 | id: mailStructure |
62 | anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : newMailViewer.bottom | 43 | anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : mailViewer.bottom |
63 | visible: newMailViewer.debug | 44 | visible: mailViewer.debug |
64 | width: parent.width | 45 | width: parent.width |
65 | height: 400 | 46 | height: 400 |
66 | Controls1.TableViewColumn { | 47 | Controls1.TableViewColumn { |