From 00cd3cf3ee0018a257517ed141466e44dd6c2ea3 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 6 Apr 2017 10:10:44 +0200 Subject: use inverted status icons in folder/account column --- components/kube/contents/ui/Kube.qml | 8 ++++---- framework/qml/Icons.qml | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 2b3c78b0..598cc6bc 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml @@ -236,19 +236,19 @@ Controls2.ApplicationWindow { states: [ State { name: "busy"; when: model.status == Kube.AccountsModel.BusyStatus - PropertyChanges { target: statusIcon; iconName: Kube.Icons.busy; visible: true } + PropertyChanges { target: statusIcon; iconName: Kube.Icons.busy_inverted; visible: true } }, State { name: "error"; when: model.status == Kube.AccountsModel.ErrorStatus - PropertyChanges { target: statusIcon; iconName: Kube.Icons.error; visible: true } + PropertyChanges { target: statusIcon; iconName: Kube.Icons.error_inverted; visible: true } }, State { name: "checkmark"; when: model.status == Kube.AccountsModel.ConnectedStatus - PropertyChanges { target: statusIcon; iconName: Kube.Icons.connected; visible: true } + PropertyChanges { target: statusIcon; iconName: Kube.Icons.connected_inverted; visible: true } }, State { name: "disconnected"; when: model.status == Kube.AccountsModel.OfflineStatus - PropertyChanges { target: statusIcon; iconName: Kube.Icons.noNetworkConnection; visible: true } + PropertyChanges { target: statusIcon; iconName: Kube.Icons.noNetworkConnection_inverted; visible: true } } ] } diff --git a/framework/qml/Icons.qml b/framework/qml/Icons.qml index bd088525..bed45523 100644 --- a/framework/qml/Icons.qml +++ b/framework/qml/Icons.qml @@ -23,10 +23,13 @@ import QtQuick 2.7 Item { property string error: "error" + property string error_inverted: "error-inverted" property string busy: "view-refresh" - property string noNetworkConnection: "network-disconnect" + property string busy_inverted: "view-refresh-inverted" + property string noNetworkConnection_inverted: "network-disconnect-inverted" property string connected: "dialog-ok" - property string success: "dialog-ok" + property string connected_inverted: "dialog-ok-inverted" + property string success_inverted: "dialog-ok-inverted" property string markAsRead: "mail-mark-unread-new" property string markImportant: "mail-mark-important" -- cgit v1.2.3