From fb3a3f6a3371e614dff1199749df98f34f748aba Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 6 Mar 2020 08:38:59 +0100 Subject: [PATCH] FEM: rename icon, Constraint Displacement --- src/Mod/Fem/Gui/Command.cpp | 2 +- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- ...nstraint-displacement.svg => FEM_ConstraintDisplacement.svg} | 0 src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp | 2 +- src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-constraint-displacement.svg => FEM_ConstraintDisplacement.svg} (100%) diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index b4a00111d1..8e22017f1d 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -383,7 +383,7 @@ CmdFemConstraintDisplacement::CmdFemConstraintDisplacement() sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a displacement acting on a geometric entity"); sWhatsThis = "FEM_ConstraintDisplacement"; sStatusTip = sToolTipText; - sPixmap = "fem-constraint-displacement"; + sPixmap = "FEM_ConstraintDisplacement"; } void CmdFemConstraintDisplacement::activated(int) diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index eb3c05bbe8..d60f3817c6 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -10,7 +10,7 @@ icons/fem-clipping-plane-remove-all.svg icons/FEM_ConstraintBearing.svg icons/FEM_ConstraintContact.svg - icons/fem-constraint-displacement.svg + icons/FEM_ConstraintDisplacement.svg icons/fem-constraint-electrostatic-potential.svg icons/fem-constraint-fixed.svg icons/fem-constraint-flow-velocity.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-constraint-displacement.svg b/src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintDisplacement.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-constraint-displacement.svg rename to src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintDisplacement.svg diff --git a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp index 2b403ab919..0e45d52010 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp @@ -62,7 +62,7 @@ using namespace Gui; /* TRANSLATOR FemGui::TaskFemConstraintDisplacement */ TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(ViewProviderFemConstraintDisplacement *ConstraintView,QWidget *parent) - : TaskFemConstraint(ConstraintView, parent, "fem-constraint-displacement") + : TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintDisplacement") { proxy = new QWidget(this); ui = new Ui_TaskFemConstraintDisplacement(); diff --git a/src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp b/src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp index 7b192234c0..b9fa4f3120 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp @@ -48,7 +48,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintDisplacement, FemGui::ViewProvi ViewProviderFemConstraintDisplacement::ViewProviderFemConstraintDisplacement() { - sPixmap = "fem-constraint-displacement"; + sPixmap = "FEM_ConstraintDisplacement"; ADD_PROPERTY(FaceColor,(0.2f,0.3f,0.2f)); }