FEM: solver z88, add icon and make use of it
This commit is contained in:
@@ -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>
|
||||
|
||||
BIN
src/Mod/Fem/Gui/Resources/icons/FEM_SolverZ88.ico
Normal file
BIN
src/Mod/Fem/Gui/Resources/icons/FEM_SolverZ88.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -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"
|
||||
|
||||
@@ -88,6 +88,8 @@ class Proxy(solverbase.Proxy):
|
||||
|
||||
|
||||
class ViewProxy(solverbase.ViewProxy):
|
||||
pass
|
||||
|
||||
def getIcon(self):
|
||||
return ":/icons/FEM_SolverZ88.ico"
|
||||
|
||||
## @}
|
||||
|
||||
Reference in New Issue
Block a user