From a3b6c272edda8c2cea4e214691e9562d6d83856d Mon Sep 17 00:00:00 2001 From: Uwe Date: Tue, 15 Feb 2022 01:49:34 +0100 Subject: [PATCH] [Part] add icon for sectionCut feature --- src/Mod/Part/Gui/Command.cpp | 1 + src/Mod/Part/Gui/Resources/Part.qrc | 1 + .../Gui/Resources/icons/Part_SectionCut.svg | 52 +++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 src/Mod/Part/Gui/Resources/icons/Part_SectionCut.svg diff --git a/src/Mod/Part/Gui/Command.cpp b/src/Mod/Part/Gui/Command.cpp index 018ee9d0e7..d307d10d2f 100644 --- a/src/Mod/Part/Gui/Command.cpp +++ b/src/Mod/Part/Gui/Command.cpp @@ -2484,6 +2484,7 @@ CmdPartSectionCut::CmdPartSectionCut() sToolTipText = QT_TR_NOOP("Creates a persistent section cut of visible part objects"); sWhatsThis = "Part_SectionCut"; sStatusTip = sToolTipText; + sPixmap = "Part_SectionCut"; eType = AlterDoc | Alter3DView; } diff --git a/src/Mod/Part/Gui/Resources/Part.qrc b/src/Mod/Part/Gui/Resources/Part.qrc index ce6bb3865d..03b9bfce63 100644 --- a/src/Mod/Part/Gui/Resources/Part.qrc +++ b/src/Mod/Part/Gui/Resources/Part.qrc @@ -92,6 +92,7 @@ icons/Part_Feature.svg icons/Part_FeatureImport.svg icons/Part_Import.svg + icons/Part_SectionCut.svg icons/PartWorkbench.svg icons/preferences-part_design.svg diff --git a/src/Mod/Part/Gui/Resources/icons/Part_SectionCut.svg b/src/Mod/Part/Gui/Resources/icons/Part_SectionCut.svg new file mode 100644 index 0000000000..b695e4d20d --- /dev/null +++ b/src/Mod/Part/Gui/Resources/icons/Part_SectionCut.svg @@ -0,0 +1,52 @@ + + + Part_SectionCut + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Part_SectionCut + 2022-02-15 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + + + + FreeCAD LGPL2+ + + + + + Uwe Stöhr + + + + + + + + + +