diff options
Diffstat (limited to 'components/mailviewer/contents/ui/SignaturePart.qml')
-rw-r--r-- | components/mailviewer/contents/ui/SignaturePart.qml | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/components/mailviewer/contents/ui/SignaturePart.qml b/components/mailviewer/contents/ui/SignaturePart.qml deleted file mode 100644 index 5e88f963..00000000 --- a/components/mailviewer/contents/ui/SignaturePart.qml +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | import QtQuick 2.4 | ||
20 | |||
21 | Item { | ||
22 | id: signature | ||
23 | property alias rootIndex: visualModel.rootIndex | ||
24 | property alias model: visualModel.model | ||
25 | property alias debug: visualModel.debug | ||
26 | property variant securityLevel | ||
27 | property string type | ||
28 | height: partListView.height | ||
29 | width: parent.width | ||
30 | |||
31 | MailDataModel { | ||
32 | id: visualModel | ||
33 | } | ||
34 | Column { | ||
35 | id: partListView | ||
36 | anchors { | ||
37 | top: parent.top | ||
38 | left: parent.left | ||
39 | } | ||
40 | width: parent.width | ||
41 | spacing: 5 | ||
42 | Text { | ||
43 | width: parent.width | ||
44 | visible: signature.debug | ||
45 | text: type | ||
46 | } | ||
47 | BorderImage { | ||
48 | width: parent.width | ||
49 | height: childrenRect.height + 40 | ||
50 | border { left: 5; top: 5; right: 6; bottom: 6 } | ||
51 | horizontalTileMode: BorderImage.Round | ||
52 | verticalTileMode: BorderImage.Round | ||
53 | source: /* "securityborders"+ */ securityLevel +".png" | ||
54 | ListView { | ||
55 | model: visualModel | ||
56 | anchors { | ||
57 | top: parent.top | ||
58 | left: parent.left | ||
59 | margins: 20 | ||
60 | } | ||
61 | height: contentHeight | ||
62 | width: parent.width - 40 | ||
63 | |||
64 | spacing: 20 | ||
65 | interactive: false | ||
66 | } | ||
67 | } | ||
68 | } | ||
69 | } | ||