diff options
Diffstat (limited to 'applications/kube-mail/package/contents/ui/ListItem.qml')
-rw-r--r-- | applications/kube-mail/package/contents/ui/ListItem.qml | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/applications/kube-mail/package/contents/ui/ListItem.qml b/applications/kube-mail/package/contents/ui/ListItem.qml deleted file mode 100644 index 5396645d..00000000 --- a/applications/kube-mail/package/contents/ui/ListItem.qml +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2015 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 3 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 | ||
15 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | import QtQuick 2.4 | ||
19 | |||
20 | Item { | ||
21 | id: delegateRoot | ||
22 | |||
23 | readonly property bool isCurrentItem: ListView.isCurrentItem | ||
24 | |||
25 | height: unit.width * 25 | ||
26 | width: parent.width | ||
27 | |||
28 | MouseArea { | ||
29 | id: mouseArea | ||
30 | |||
31 | anchors.fill: parent | ||
32 | } | ||
33 | |||
34 | Rectangle { | ||
35 | anchors.fill: parent | ||
36 | |||
37 | color: colorPalette.background | ||
38 | |||
39 | //clickColor | ||
40 | Rectangle { | ||
41 | id: clickColor | ||
42 | |||
43 | anchors.fill: parent | ||
44 | |||
45 | color: colorPalette.selected | ||
46 | opacity: 0.4 | ||
47 | |||
48 | visible: mouseArea.pressed | ||
49 | } | ||
50 | |||
51 | //border | ||
52 | Rectangle { | ||
53 | |||
54 | anchors.bottom: parent.bottom | ||
55 | |||
56 | height: 1 | ||
57 | width: parent.width | ||
58 | |||
59 | color: colorPalette.border | ||
60 | opacity: 0.2 | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||