From 4cf4815b46b8809aa3458c337cbfed7a20c7c7ed Mon Sep 17 00:00:00 2001 From: jercram Date: Mon, 11 Jul 2022 20:24:06 +0200 Subject: [PATCH] design and add Compound object's icon --- Gui/Resources/Aplan.qrc | 1 + Gui/Resources/icons/APLAN_Compound.svg | 209 +++++++++++++++++++++++++ Gui/ViewProviderCompound.cpp | 2 +- 3 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 Gui/Resources/icons/APLAN_Compound.svg diff --git a/Gui/Resources/Aplan.qrc b/Gui/Resources/Aplan.qrc index a73814e..eb05d39 100644 --- a/Gui/Resources/Aplan.qrc +++ b/Gui/Resources/Aplan.qrc @@ -2,6 +2,7 @@ icons/APLAN_Analysis.svg + icons/APLAN_Compound.svg ui/aplan_connection_detectors/SwellOCCT.ui diff --git a/Gui/Resources/icons/APLAN_Compound.svg b/Gui/Resources/icons/APLAN_Compound.svg new file mode 100644 index 0000000..af64af8 --- /dev/null +++ b/Gui/Resources/icons/APLAN_Compound.svg @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Gui/ViewProviderCompound.cpp b/Gui/ViewProviderCompound.cpp index c6bd745..144ec29 100644 --- a/Gui/ViewProviderCompound.cpp +++ b/Gui/ViewProviderCompound.cpp @@ -37,7 +37,7 @@ PROPERTY_SOURCE(AplanGui::ViewProviderCompound, PartGui::ViewProviderCompound) ViewProviderCompound::ViewProviderCompound() : PartGui::ViewProviderCompound{} { - // sPixmap = "APLAN_Compound.svg"; + sPixmap = "APLAN_Compound.svg"; } ViewProviderCompound::~ViewProviderCompound()