From 5e707d5aa243689cf025ca4f9dd5bf5ddd8102d2 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 7 Aug 2018 08:08:35 +0200 Subject: [PATCH] FEM: icons, rename sphere icon --- src/Mod/Fem/Gui/Command.cpp | 2 +- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- .../Resources/icons/{fem-sphere.svg => fem-post-geo-sphere.svg} | 0 src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-sphere.svg => fem-post-geo-sphere.svg} (100%) diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 675aa19348..b0f260f865 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -1449,7 +1449,7 @@ Gui::Action * CmdFemPostFunctions::createAction(void) cmd0->setIcon(Gui::BitmapFactory().pixmap("fem-post-geo-plane")); QAction* cmd1 = pcAction->addAction(QString()); - cmd1->setIcon(Gui::BitmapFactory().pixmap("fem-sphere")); + cmd1->setIcon(Gui::BitmapFactory().pixmap("fem-post-geo-sphere")); _pcAction = pcAction; languageChange(); diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index 894136925c..98dadc7701 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -67,12 +67,12 @@ icons/fem-post-geo-cylinder.svg icons/fem-post-geo-isosurface.svg icons/fem-post-geo-plane.svg + icons/fem-post-geo-sphere.svg icons/fem-purge-results.svg icons/fem-result.svg icons/fem-run-solver.svg icons/fem-shell-thickness.svg icons/fem-solver.svg - icons/fem-sphere.svg icons/fem-static-analysis.svg icons/fem-thermomechanical-analysis.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-sphere.svg b/src/Mod/Fem/Gui/Resources/icons/fem-post-geo-sphere.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-sphere.svg rename to src/Mod/Fem/Gui/Resources/icons/fem-post-geo-sphere.svg diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp index fb68f5b906..91b615aa4a 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp @@ -461,7 +461,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemPostSphereFunction, FemGui::ViewProviderF ViewProviderFemPostSphereFunction::ViewProviderFemPostSphereFunction() { - sPixmap = "fem-sphere"; + sPixmap = "fem-post-geo-sphere"; setAutoScale(false);