From c527a5b72ea6112be4170ceb83ae735706f87b07 Mon Sep 17 00:00:00 2001
From: "andrei.chegodaikin" <andrei.chegodaikin@demlabs.net>
Date: Sun, 1 Nov 2020 14:57:09 +0700
Subject: [PATCH] [*] replaced files "new-wallet_icon_dark" and "new-
 wallet_icon_dark_hover" ".png" with similar ones, but ".svg"

---
 CellFrameDashboardGUI/qml.qrc                                 | 4 ++--
 .../resources/icons/new-wallet_icon_dark.svg                  | 1 +
 .../resources/icons/new-wallet_icon_dark_hover.svg            | 1 +
 CellFrameDashboardGUI/screen/DapMainApplicationWindow.qml     | 4 ++--
 .../screen/desktop/Dashboard/DapDashboardScreen.qml           | 4 ++--
 .../screen/desktop/Dashboard/DapDashboardTopPanel.qml         | 4 ++--
 6 files changed, 10 insertions(+), 8 deletions(-)
 create mode 100644 CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark.svg
 create mode 100644 CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark_hover.svg

diff --git a/CellFrameDashboardGUI/qml.qrc b/CellFrameDashboardGUI/qml.qrc
index 3739e2f..d2acf9f 100755
--- a/CellFrameDashboardGUI/qml.qrc
+++ b/CellFrameDashboardGUI/qml.qrc
@@ -63,8 +63,8 @@
         <file>screen/mobile/History/DapHistoryTopPanelForm.ui.qml</file>
         <file>screen/DapAbstractMenuTabWidget.qml</file>
         <file>screen/DapAbstractMenuTabWidgetForm.ui.qml</file>
-        <file>resources/icons/new-wallet_icon_dark_hover.png</file>
-        <file>resources/icons/new-wallet_icon_dark.png</file>
+        <file>resources/icons/new-wallet_icon_dark_hover.svg</file>
+        <file>resources/icons/new-wallet_icon_dark.svg</file>
         <file>resources/icons/ic_arrow_drop_down.png</file>
         <file>resources/icons/ic_arrow_drop_up.png</file>
         <file>screen/desktop/Logs/DapLogsTab.qml</file>
diff --git a/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark.svg b/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark.svg
new file mode 100644
index 0000000..281fc0a
--- /dev/null
+++ b/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="28.694" height="28.694" viewBox="0 0 28.694 28.694"><g transform="translate(0.036)"><rect width="28.694" height="28.694" transform="translate(-0.036)" fill="none"/><g transform="translate(-101.036 -415)"><g transform="translate(104 422)" fill="#211a3a" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><rect width="20" height="15" stroke="none"/><rect x="0.5" y="0.5" width="19" height="14" fill="none"/></g><g transform="translate(117 426)" fill="#211a3a" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><rect width="9" height="7" stroke="none"/><rect x="0.5" y="0.5" width="8" height="6" fill="none"/></g><path d="M64.382,997.192a1.019,1.019,0,1,0,1,1.018A1.016,1.016,0,0,0,64.382,997.192Zm0,.788a.231.231,0,0,1,0,.461.231.231,0,0,1,0-.461Z" transform="translate(56.269 -568.764)" fill="#fff" fill-rule="evenodd"/></g></g></svg>
\ No newline at end of file
diff --git a/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark_hover.svg b/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark_hover.svg
new file mode 100644
index 0000000..90e36a9
--- /dev/null
+++ b/CellFrameDashboardGUI/resources/icons/new-wallet_icon_dark_hover.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="28.694" height="28.694" viewBox="0 0 28.694 28.694"><g transform="translate(0.036)"><rect width="28.694" height="28.694" transform="translate(-0.036)" fill="none"/><g transform="translate(-101.036 -415)"><g transform="translate(104 422)" fill="#d51f5d" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><rect width="20" height="15" stroke="none"/><rect x="0.5" y="0.5" width="19" height="14" fill="none"/></g><g transform="translate(117 426)" fill="#d51f5d" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><rect width="9" height="7" stroke="none"/><rect x="0.5" y="0.5" width="8" height="6" fill="none"/></g><path d="M64.382,997.192a1.019,1.019,0,1,0,1,1.018A1.016,1.016,0,0,0,64.382,997.192Zm0,.788a.231.231,0,0,1,0,.461.231.231,0,0,1,0-.461Z" transform="translate(56.269 -568.764)" fill="#fff" fill-rule="evenodd"/></g></g></svg>
\ No newline at end of file
diff --git a/CellFrameDashboardGUI/screen/DapMainApplicationWindow.qml b/CellFrameDashboardGUI/screen/DapMainApplicationWindow.qml
index e207cff..f35baf6 100644
--- a/CellFrameDashboardGUI/screen/DapMainApplicationWindow.qml
+++ b/CellFrameDashboardGUI/screen/DapMainApplicationWindow.qml
@@ -188,8 +188,8 @@ Item {
             append({
                 name: qsTr("Wallet"),
                 page: dashboardScreen,
-                normalIcon: "qrc:/resources/icons/new-wallet_icon_dark.png",
-                hoverIcon: "qrc:/resources/icons/new-wallet_icon_dark_hover.png"
+                normalIcon: "qrc:/resources/icons/new-wallet_icon_dark.svg",
+                hoverIcon: "qrc:/resources/icons/new-wallet_icon_dark_hover.svg"
             })
             append({
                 name: qsTr("Wallet"),
diff --git a/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardScreen.qml b/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardScreen.qml
index dd96de1..5ef48a6 100644
--- a/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardScreen.qml
+++ b/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardScreen.qml
@@ -76,8 +76,8 @@ DapAbstractScreen
                 heightImageButton: 21 * pt
                 widthImageButton: 22 * pt
                 textButton: "New wallet"
-                normalImageButton: "qrc:/resources/icons/new-wallet_icon_dark.png"
-                hoverImageButton: "qrc:/resources/icons/new-wallet_icon_dark_hover.png"
+                normalImageButton: "qrc:/resources/icons/new-wallet_icon_dark.svg"
+                hoverImageButton: "qrc:/resources/icons/new-wallet_icon_dark_hover.svg"
                 indentImageLeftButton: 41 * pt
                 colorBackgroundNormal: "#070023"
                 colorBackgroundHover: "#D51F5D"
diff --git a/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardTopPanel.qml b/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardTopPanel.qml
index ba84ba4..1073288 100644
--- a/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardTopPanel.qml
+++ b/CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardTopPanel.qml
@@ -106,8 +106,8 @@ DapTopPanel
         anchors.right: parent.right
         anchors.rightMargin: 24 * pt
         anchors.verticalCenter: parent.verticalCenter
-        normalImageButton: "qrc:/resources/icons/new-wallet_icon_dark.png"
-        hoverImageButton: "qrc:/resources/icons/new-wallet_icon_dark_hover.png"
+        normalImageButton: "qrc:/resources/icons/new-wallet_icon_dark.svg"
+        hoverImageButton: "qrc:/resources/icons/new-wallet_icon_dark_hover.svg"
         implicitHeight: 36 * pt
         implicitWidth: 120 * pt
         widthImageButton: 28 * pt
-- 
GitLab