From 1fe8dc99fc4feb4e5402ed155197b1b75338bfaa Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 10 Sep 2018 14:01:38 +0200 Subject: [PATCH] FEM: icons, rename element geometry 1d --- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- .../icons/{fem-beam-section.svg => fem-element-geometry-1d.svg} | 0 src/Mod/Fem/femcommands/commands.py | 2 +- src/Mod/Fem/femguiobjects/_ViewProviderFemElementGeometry1D.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-beam-section.svg => fem-element-geometry-1d.svg} (100%) diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index bb60828151..59f81b3363 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -10,7 +10,6 @@ icons/fem-add-part.svg icons/fem-analysis.svg icons/fem-beam-rotation.svg - icons/fem-beam-section.svg icons/fem-clipping-plane-add.svg icons/fem-clipping-plane-remove-all.svg icons/fem-constraint-bearing.svg @@ -32,6 +31,7 @@ icons/fem-constraint-temperature.svg icons/fem-constraint-transform.svg icons/fem-element-fluid-1d.svg + icons/fem-element-geometry-1d.svg icons/fem-equation-electrostatic.svg icons/fem-equation-fluxsolver.svg icons/fem-equation-elasticity.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-beam-section.svg b/src/Mod/Fem/Gui/Resources/icons/fem-element-geometry-1d.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-beam-section.svg rename to src/Mod/Fem/Gui/Resources/icons/fem-element-geometry-1d.svg diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index c28f0ca15b..897717f827 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -236,7 +236,7 @@ class _CommandFemElementGeometry1D(CommandManager): "The Fem_ElementGeometry1D command definition" def __init__(self): super(_CommandFemElementGeometry1D, self).__init__() - self.resources = {'Pixmap': 'fem-beam-section', + self.resources = {'Pixmap': 'fem-element-geometry-1d', 'MenuText': QtCore.QT_TRANSLATE_NOOP("FEM_ElementGeometry1D", "Beam cross section"), 'Accel': "C, B", 'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_ElementGeometry1D", "Creates a FEM beam cross section")} diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemElementGeometry1D.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemElementGeometry1D.py index f4a03f716d..69d97e361f 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemElementGeometry1D.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemElementGeometry1D.py @@ -45,7 +45,7 @@ class _ViewProviderFemElementGeometry1D: vobj.Proxy = self def getIcon(self): - return ":/icons/fem-beam-section.svg" + return ":/icons/fem-element-geometry-1d.svg" def attach(self, vobj): from pivy import coin