[FEM] add icon for the new supported MYSTRAN solver
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg width="64px" height="64px" id="svg2860" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs id="defs2862">
|
||||
<radialGradient xlink:href="#linearGradient3377" id="radialGradient3692" cx="45.883327" cy="28.869568" fx="45.883327" fy="28.869568" r="19.467436" gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient xlink:href="#linearGradient3377" id="radialGradient3703" gradientUnits="userSpaceOnUse" cx="135.38333" cy="97.369568" fx="135.38333" fy="97.369568" r="19.467436" gradientTransform="matrix(0.97435,0.2250379,-0.4623105,2.0016728,48.487554,-127.99883)" />
|
||||
<linearGradient id="linearGradient3377">
|
||||
<stop id="stop3379" offset="0" style="stop-color:#faff2b;stop-opacity:1" />
|
||||
<stop id="stop3381" offset="1" style="stop-color:#ffaa00;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<radialGradient xlink:href="#linearGradient3377" id="radialGradient3705" gradientUnits="userSpaceOnUse" cx="148.88333" cy="81.869568" fx="148.88333" fy="81.869568" r="19.467436" gradientTransform="matrix(1.3852588,-5.1367833e-2,3.7056289e-2,0.9993132,-60.392403,7.7040438)" />
|
||||
</defs>
|
||||
<metadata id="metadata2865">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[Author qingfengxia]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2015-11-15</dc:date>
|
||||
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g id="layer1" transform="matrix(0.7646809,0,0,0.76162085,8.9963467,0.21184777)" style="stroke-width:1.31036">
|
||||
<text xml:space="preserve" style="font-size:25.0779px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:red;fill-opacity:1;stroke:#7f0000;stroke-width:0.65518;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" x="11.83257" y="35.067116" id="text2117" transform="scale(0.99432608,1.0057063)"><tspan id="tspan2115" x="11.83257" y="35.067116" style="font-size:25.0779px;fill:red;fill-opacity:1;stroke:#7f0000;stroke-width:0.65518;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">MY</tspan></text>
|
||||
<text xml:space="preserve" style="font-size:85.3333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;stroke-width:1.31036" x="14.78496" y="17.356256" id="text8881"><tspan id="tspan8879" style="stroke-width:1.31036" /></text>
|
||||
</g>
|
||||
<g id="layer1-6" transform="translate(-0.72150265,10.078135)">
|
||||
<text xml:space="preserve" style="font-size:19.0749px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:red;fill-opacity:1;stroke:#7f0000;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" x="3.3539684" y="38.310585" id="text2117-4" transform="scale(0.99440028,1.0056312)"><tspan id="tspan2115-6" x="3.3539684" y="38.310585" style="font-size:19.0749px;fill:red;fill-opacity:1;stroke:#7f0000;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">STRAN</tspan></text>
|
||||
<text xml:space="preserve" style="font-size:85.3333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px" x="14.78496" y="17.356256" id="text8881-3"><tspan id="tspan8879-1" /></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
@@ -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")
|
||||
|
||||
@@ -89,7 +89,8 @@ class Proxy(solverbase.Proxy):
|
||||
|
||||
|
||||
class ViewProxy(solverbase.ViewProxy):
|
||||
pass
|
||||
|
||||
def getIcon(self):
|
||||
return ":/icons/FEM_SolverMystran.svg"
|
||||
|
||||
## @}
|
||||
|
||||
Reference in New Issue
Block a user