From 5abe450b0c58ecbc06fde94cf40fc42985aebbf6 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 9 Mar 2023 13:55:30 +0000 Subject: [PATCH] [Gui] Add an icon for Std_RecentMacros command (#8793) * [Gui] Add Std_RecentMacros.svg icon * [Gui] Add Std_RecentMacros icon * [Gui] Add icon to Std_RecentMacros command --- src/Gui/CommandStd.cpp | 1 + src/Gui/Icons/Std_RecentMacros.svg | 800 +++++++++++++++++++++++++++++ src/Gui/Icons/resource.qrc | 1 + 3 files changed, 802 insertions(+) create mode 100644 src/Gui/Icons/Std_RecentMacros.svg diff --git a/src/Gui/CommandStd.cpp b/src/Gui/CommandStd.cpp index 72478d003a..cdfd61c2ff 100644 --- a/src/Gui/CommandStd.cpp +++ b/src/Gui/CommandStd.cpp @@ -177,6 +177,7 @@ StdCmdRecentMacros::StdCmdRecentMacros() sToolTipText = QT_TR_NOOP("Recent macro list"); sWhatsThis = "Std_RecentMacros"; sStatusTip = QT_TR_NOOP("Recent macro list"); + sPixmap = "Std_RecentMacros"; eType = NoTransaction; } diff --git a/src/Gui/Icons/Std_RecentMacros.svg b/src/Gui/Icons/Std_RecentMacros.svg new file mode 100644 index 0000000000..b5e5aae409 --- /dev/null +++ b/src/Gui/Icons/Std_RecentMacros.svg @@ -0,0 +1,800 @@ + + + Std_RecentFiles + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_RecentFiles + 2020-11-12 + + + [bitacovir] + + + + + documents + clock + + + + + + Based on Andreas Nilsson's work + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/resource.qrc b/src/Gui/Icons/resource.qrc index 37e4cb8e24..ccd411b1c5 100644 --- a/src/Gui/Icons/resource.qrc +++ b/src/Gui/Icons/resource.qrc @@ -167,6 +167,7 @@ Std_PrintPdf.svg Std_RandomColor.svg Std_RecentFiles.svg + Std_RecentMacros.svg Std_Revert.svg Std_SaveAll.svg Std_SaveCopy.svg