From e9df57bdd4e37f9b41fd3bcb1825d90aab84515f Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 6 Mar 2020 08:39:03 +0100 Subject: [PATCH] FEM: rename icon, Constraint Force --- src/Mod/Fem/Gui/Command.cpp | 2 +- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- .../icons/{fem-constraint-force.svg => FEM_ConstraintForce.svg} | 0 src/Mod/Fem/Gui/TaskFemConstraintForce.cpp | 2 +- src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-constraint-force.svg => FEM_ConstraintForce.svg} (100%) diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 2d5f712dae..a7850f4e25 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -511,7 +511,7 @@ CmdFemConstraintForce::CmdFemConstraintForce() sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a force acting on a geometric entity"); sWhatsThis = "FEM_ConstraintForce"; sStatusTip = sToolTipText; - sPixmap = "fem-constraint-force"; + sPixmap = "FEM_ConstraintForce"; } void CmdFemConstraintForce::activated(int) diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index 636a924ca7..d5b961810d 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -15,7 +15,7 @@ icons/FEM_ConstraintFixed.svg icons/fem-constraint-flow-velocity.svg icons/fem-constraint-fluid-boundary.svg - icons/fem-constraint-force.svg + icons/FEM_ConstraintForce.svg icons/fem-constraint-gear.svg icons/fem-constraint-heatflux.svg icons/fem-constraint-initial-flow-velocity.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-constraint-force.svg b/src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintForce.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-constraint-force.svg rename to src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintForce.svg diff --git a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp index ea8472b6bd..ca3691ea1e 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp @@ -69,7 +69,7 @@ using namespace Gui; /* TRANSLATOR FemGui::TaskFemConstraintForce */ TaskFemConstraintForce::TaskFemConstraintForce(ViewProviderFemConstraintForce *ConstraintView,QWidget *parent) - : TaskFemConstraint(ConstraintView, parent, "fem-constraint-force") + : TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintForce") { // we need a separate container widget to add all controls to proxy = new QWidget(this); diff --git a/src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp b/src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp index 76c555b394..56a80e1104 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp @@ -50,7 +50,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintForce, FemGui::ViewProviderFemC ViewProviderFemConstraintForce::ViewProviderFemConstraintForce() { - sPixmap = "fem-constraint-force"; + sPixmap = "FEM_ConstraintForce"; } ViewProviderFemConstraintForce::~ViewProviderFemConstraintForce()