From 4a98c664192db73f5ca7701376f6715cc5fdba2e Mon Sep 17 00:00:00 2001 From: Camilo Higuita Date: Fri, 3 Jan 2020 03:23:52 +0100 Subject: [PATCH] using breeze icon names --- assets/appimage-store.svg | 108 ++++++++++++++++++++ assets/nx-assets.qrc | 3 + assets/nx-home.svg | 104 +++++++++++++++++++ assets/start-here.svg | 159 ++++++++++++++++++++++++++++++ src/main.qml | 14 +-- src/ui/templates/CardDelegate.qml | 2 +- src/ui/views/store/StoreView.qml | 2 +- 7 files changed, 384 insertions(+), 8 deletions(-) create mode 100644 assets/appimage-store.svg create mode 100644 assets/nx-home.svg create mode 100644 assets/start-here.svg diff --git a/assets/appimage-store.svg b/assets/appimage-store.svg new file mode 100644 index 00000000..6b6502b4 --- /dev/null +++ b/assets/appimage-store.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/nx-assets.qrc b/assets/nx-assets.qrc index 6d2cf55b..f4818e0d 100644 --- a/assets/nx-assets.qrc +++ b/assets/nx-assets.qrc @@ -3,5 +3,8 @@ nx-software-center.svg tests/banner_index.png store.svg + nx-home.svg + appimage-store.svg + start-here.svg diff --git a/assets/nx-home.svg b/assets/nx-home.svg new file mode 100644 index 00000000..a0630506 --- /dev/null +++ b/assets/nx-home.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/start-here.svg b/assets/start-here.svg new file mode 100644 index 00000000..aa744154 --- /dev/null +++ b/assets/start-here.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/src/main.qml b/src/main.qml index 9a767122..19e537fc 100644 --- a/src/main.qml +++ b/src/main.qml @@ -38,22 +38,23 @@ Maui.ApplicationWindow Action { text: qsTr("Apps") - icon.name: "nx-home" - - + icon.name: "go-home" + icon.source: "qrc:/nx-home.svg" } Action { text: qsTr("Store") - icon.name: "nx-software-center" + icon.name: "download" + icon.source: "qrc:/store.svg" // display: isWide ? ToolButton.TextBesideIcon : ToolButton.TextUnderIcon } Action { text: qsTr("System") - icon.name: "start-here" + icon.name: "drive-harddisk" + icon.source: "qrc:/start-here.svg" } } @@ -69,7 +70,8 @@ Maui.ApplicationWindow height: Maui.Style.toolBarHeight width: height - icon.name: "appimage-store" + icon.name: "package" + icon.source: "qrc:/appimage-store.svg" icon.color: Kirigami.Theme.highlightedTextColor onClicked: _actionGroup.currentIndex = views.progress diff --git a/src/ui/templates/CardDelegate.qml b/src/ui/templates/CardDelegate.qml index 6a575564..6f988cc0 100644 --- a/src/ui/templates/CardDelegate.qml +++ b/src/ui/templates/CardDelegate.qml @@ -233,7 +233,7 @@ SwipeDelegate ToolButton { - icon.name: "call-start" + icon.name: "download" anchors.verticalCenter: parent.verticalCenter // icon.color: _bg.Kirigami.Theme.textColor diff --git a/src/ui/views/store/StoreView.qml b/src/ui/views/store/StoreView.qml index bd661daa..313962a3 100644 --- a/src/ui/views/store/StoreView.qml +++ b/src/ui/views/store/StoreView.qml @@ -491,7 +491,7 @@ StackView Action { - icon.name: "document-download" + icon.name: "download" } ]