diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 17:05:58 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 17:05:58 +0200 |
commit | a4e3825d5b22c69e7d2145dc6cdeed055034a563 (patch) | |
tree | 3300123b2641511546a3e15d7957bea97a63bbab /components/package/contents/ui/FolderListView.qml | |
parent | 1bb396b2ea85a2ce48413e984ba133b3ffdbbe9c (diff) | |
download | kube-a4e3825d5b22c69e7d2145dc6cdeed055034a563.tar.gz kube-a4e3825d5b22c69e7d2145dc6cdeed055034a563.zip |
port folderlistview to kube theme
Diffstat (limited to 'components/package/contents/ui/FolderListView.qml')
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index 19fda843..1a2f055c 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -22,7 +22,7 @@ import QtQuick.Controls.Styles 1.4 | |||
22 | import QtQuick.Layouts 1.1 | 22 | import QtQuick.Layouts 1.1 |
23 | 23 | ||
24 | import org.kde.kirigami 1.0 as Kirigami | 24 | import org.kde.kirigami 1.0 as Kirigami |
25 | 25 | import org.kube.components.theme 1.0 as KubeTheme | |
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | 27 | ||
28 | Rectangle { | 28 | Rectangle { |
@@ -31,7 +31,7 @@ Rectangle { | |||
31 | property variant currentFolder: null | 31 | property variant currentFolder: null |
32 | property variant accountId | 32 | property variant accountId |
33 | 33 | ||
34 | color: Kirigami.Theme.textColor | 34 | color: KubeTheme.Colors.textColor |
35 | 35 | ||
36 | KubeFramework.FolderController { | 36 | KubeFramework.FolderController { |
37 | id: folderController | 37 | id: folderController |
@@ -98,7 +98,7 @@ Rectangle { | |||
98 | style: TreeViewStyle { | 98 | style: TreeViewStyle { |
99 | 99 | ||
100 | rowDelegate: Rectangle { | 100 | rowDelegate: Rectangle { |
101 | color: styleData.selected ? Kirigami.Theme.highlightColor : Kirigami.Theme.textColor | 101 | color: styleData.selected ? KubeTheme.Colors.highlightColor : KubeTheme.Colors.textColor |
102 | 102 | ||
103 | height: Kirigami.Units.gridUnit * 1.5 | 103 | height: Kirigami.Units.gridUnit * 1.5 |
104 | width: 20 | 104 | width: 20 |
@@ -106,7 +106,7 @@ Rectangle { | |||
106 | } | 106 | } |
107 | 107 | ||
108 | frame: Rectangle { | 108 | frame: Rectangle { |
109 | color: Kirigami.Theme.textColor | 109 | color: KubeTheme.Colors.textColor |
110 | } | 110 | } |
111 | 111 | ||
112 | branchDelegate: Item { | 112 | branchDelegate: Item { |
@@ -117,7 +117,7 @@ Rectangle { | |||
117 | 117 | ||
118 | anchors.centerIn: parent | 118 | anchors.centerIn: parent |
119 | 119 | ||
120 | color: Kirigami.Theme.viewBackgroundColor | 120 | color: KubeTheme.Colors.viewBackgroundColor |
121 | text: styleData.isExpanded ? "-" : "+" | 121 | text: styleData.isExpanded ? "-" : "+" |
122 | } | 122 | } |
123 | 123 | ||
@@ -126,14 +126,14 @@ Rectangle { | |||
126 | 126 | ||
127 | itemDelegate: Rectangle { | 127 | itemDelegate: Rectangle { |
128 | 128 | ||
129 | color: styleData.selected ? Kirigami.Theme.highlightColor : Kirigami.Theme.textColor | 129 | color: styleData.selected ? KubeTheme.Colors.highlightColor : KubeTheme.Colors.textColor |
130 | 130 | ||
131 | DropArea { | 131 | DropArea { |
132 | anchors.fill: parent | 132 | anchors.fill: parent |
133 | 133 | ||
134 | Rectangle { | 134 | Rectangle { |
135 | anchors.fill: parent | 135 | anchors.fill: parent |
136 | color: Kirigami.Theme.viewBackgroundColor | 136 | color: KubeTheme.Colors.viewBackgroundColor |
137 | 137 | ||
138 | opacity: 0.3 | 138 | opacity: 0.3 |
139 | 139 | ||
@@ -161,7 +161,7 @@ Rectangle { | |||
161 | 161 | ||
162 | text: styleData.value | 162 | text: styleData.value |
163 | 163 | ||
164 | color: Kirigami.Theme.viewBackgroundColor | 164 | color: KubeTheme.Colors.viewBackgroundColor |
165 | } | 165 | } |
166 | ToolButton { | 166 | ToolButton { |
167 | id: statusIcon | 167 | id: statusIcon |
@@ -188,8 +188,8 @@ Rectangle { | |||
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ||
191 | backgroundColor: Kirigami.Theme.textColor | 191 | backgroundColor: KubeTheme.Colors.textColor |
192 | highlightedTextColor: Kirigami.Theme.highlightedTextColor | 192 | highlightedTextColor: KubeTheme.Colors.highlightedTextColor |
193 | } | 193 | } |
194 | } | 194 | } |
195 | } | 195 | } |