From 50ea796f170a3dfab5cfa2eff49eab17fe34d428 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 6 Mar 2020 08:39:21 +0100 Subject: [PATCH] FEM: rename icon, Constraint Pressure --- src/Mod/Fem/Gui/Command.cpp | 2 +- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- .../{fem-constraint-pressure.svg => FEM_ConstraintPressure.svg} | 0 src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp | 2 +- src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-constraint-pressure.svg => FEM_ConstraintPressure.svg} (100%) diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 929b21a9bd..ac8aeb0ee4 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -726,7 +726,7 @@ CmdFemConstraintPressure::CmdFemConstraintPressure() sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a pressure acting on a face"); sWhatsThis = "FEM_ConstraintPressure"; sStatusTip = sToolTipText; - sPixmap = "fem-constraint-pressure"; + sPixmap = "FEM_ConstraintPressure"; } void CmdFemConstraintPressure::activated(int) diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index 13d9de1e8d..563bae2d02 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -21,7 +21,7 @@ icons/FEM_ConstraintInitialFlowVelocity.svg icons/FEM_ConstraintInitialTemperature.svg icons/FEM_ConstraintPlaneRotation.svg - icons/fem-constraint-pressure.svg + icons/FEM_ConstraintPressure.svg icons/fem-constraint-pulley.svg icons/fem-constraint-selfweight.svg icons/fem-constraint-temperature.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-constraint-pressure.svg b/src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintPressure.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-constraint-pressure.svg rename to src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintPressure.svg diff --git a/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp b/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp index 518c479cfb..50ddb20640 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp @@ -59,7 +59,7 @@ using namespace Gui; /* TRANSLATOR FemGui::TaskFemConstraintPressure */ TaskFemConstraintPressure::TaskFemConstraintPressure(ViewProviderFemConstraintPressure *ConstraintView,QWidget *parent) - : TaskFemConstraint(ConstraintView, parent, "fem-constraint-pressure") + : TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintPressure") { //Note change "pressure" in line above to new constraint name proxy = new QWidget(this); ui = new Ui_TaskFemConstraintPressure(); diff --git a/src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp b/src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp index 8ea38cb8a1..f5fb9f31bc 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp @@ -46,7 +46,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintPressure, FemGui::ViewProviderF ViewProviderFemConstraintPressure::ViewProviderFemConstraintPressure() { - sPixmap = "fem-constraint-pressure"; + sPixmap = "FEM_ConstraintPressure"; ADD_PROPERTY(FaceColor,(0.0f,0.2f,0.8f)); }