FEM: solver z88, add icon and make use of it

This commit is contained in:
Bernd Hahnebach
2020-03-18 23:43:27 +01:00
parent 054ff67928
commit 8f634004bc
4 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,7 @@
<file>icons/FEM_SolverElmer.svg</file>
<file>icons/FEM_SolverRun.svg</file>
<file>icons/FEM_SolverStandard.svg</file>
<file>icons/FEM_SolverZ88.ico</file>
<!-- object icons without gui command -->
<file>icons/fem-femmesh-from-shape.svg</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -744,7 +744,7 @@ class _SolverZ88(CommandManager):
def __init__(self):
super(_SolverZ88, self).__init__()
self.pixmap = "FEM_SolverStandard"
self.pixmap = "FEM_SolverZ88.ico"
self.menuetext = "Solver Z88"
self.accel = "S, Z"
self.tooltip = "Creates a FEM solver Z88"

View File

@@ -88,6 +88,8 @@ class Proxy(solverbase.Proxy):
class ViewProxy(solverbase.ViewProxy):
pass
def getIcon(self):
return ":/icons/FEM_SolverZ88.ico"
## @}