[FEM] add icon for the new supported MYSTRAN solver

This commit is contained in:
Uwe
2022-03-18 00:18:25 +01:00
parent 5f5e5a4b35
commit 1293eb2116
4 changed files with 58 additions and 2 deletions

View File

@@ -76,6 +76,7 @@
<!-- gui command icons: solver -->
<file>icons/FEM_SolverControl.svg</file>
<file>icons/FEM_SolverElmer.svg</file>
<file>icons/FEM_SolverMystran.svg</file>
<file>icons/FEM_SolverRun.svg</file>
<file>icons/FEM_SolverStandard.svg</file>
<file>icons/FEM_SolverZ88.svg</file>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -1027,7 +1027,7 @@ class _SolverMystran(CommandManager):
def __init__(self):
super(_SolverMystran, self).__init__()
self.pixmap = "FEM_SolverStandard"
self.pixmap = "FEM_SolverMystran"
self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverMystran", "Solver Mystran")
self.accel = "S, M"
self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_SolverMystran", "Creates a FEM solver Mystran")

View File

@@ -89,7 +89,8 @@ class Proxy(solverbase.Proxy):
class ViewProxy(solverbase.ViewProxy):
pass
def getIcon(self):
return ":/icons/FEM_SolverMystran.svg"
## @}