FEM: rename icon, Element Rotation 1D

This commit is contained in:
Bernd Hahnebach
2020-03-06 08:39:44 +01:00
parent 72d3b95692
commit 9f84305f89
4 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
<file>icons/FEM_ElementFluid1D.svg</file>
<file>icons/FEM_ElementGeometry1D.svg</file>
<file>icons/FEM_ElementGeometry2D.svg</file>
<file>icons/fem-element-rotation-1d.svg</file>
<file>icons/FEM_ElementRotation1D.svg</file>
<file>icons/fem-equation-elasticity.svg</file>
<file>icons/fem-equation-electrostatic.svg</file>
<file>icons/fem-equation-flow.svg</file>

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -341,7 +341,7 @@ class _ElementRotation1D(CommandManager):
def __init__(self):
super(_ElementRotation1D, self).__init__()
self.resources = {
"Pixmap": "fem-element-rotation-1d",
"Pixmap": "FEM_ElementRotation1D",
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ElementRotation1D",
"Beam rotation"

View File

@@ -44,7 +44,7 @@ class _ViewProviderFemElementRotation1D(ViewProviderFemConstraint.ViewProxy):
"""
def getIcon(self):
return ":/icons/fem-element-rotation-1d.svg"
return ":/icons/FEM_ElementRotation1D.svg"
"""
# do not activate the task panel, since rotation with reference shapes is not yet supported