Add an icon for Part_Export

Add the icon and make it display in the
Part workbench Part menu
This commit is contained in:
jmaustpc
2013-03-22 16:36:14 +11:00
committed by Yorik van Havre
parent f6fe97b449
commit 1e584dcb40
3 changed files with 139 additions and 1 deletions

View File

@@ -500,7 +500,7 @@ CmdPartExport::CmdPartExport()
sToolTipText = QT_TR_NOOP("Exports to a CAD file");
sWhatsThis = "Part_Export";
sStatusTip = sToolTipText;
//sPixmap = "Part_Export";
sPixmap = "Part_Export.svg";
}
void CmdPartExport::activated(int iMsg)

View File

@@ -16,6 +16,7 @@
<file>icons/Part_Fillet.svg</file>
<file>icons/Part_Fuse.svg</file>
<file>icons/Part_Import.svg</file>
<file>icons/Part_Export.svg</file>
<file>icons/Part_Loft.svg</file>
<file>icons/Part_Mirror.svg</file>
<file>icons/Part_MirrorPNG.png</file>

View File

@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg2383"
sodipodi:version="0.32"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="Part_Export2.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2385">
<linearGradient
id="linearGradient3193">
<stop
id="stop3195"
offset="0"
style="stop-color:#ffc800;stop-opacity:1;" />
<stop
id="stop3197"
offset="1"
style="stop-color:#d72600;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3185">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3187" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3189" />
</linearGradient>
<linearGradient
id="linearGradient3175">
<stop
style="stop-color:#ababab;stop-opacity:1;"
offset="0"
id="stop3177" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3179" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2391" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3175"
id="linearGradient3181"
x1="52.736828"
y1="49.86422"
x2="17.93952"
y2="9.8805466"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(4.3712056,-3.3426866)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3193"
id="linearGradient3191"
x1="11.757756"
y1="27.363932"
x2="16.379398"
y2="39.648712"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.99995601,0.00937982,-0.00937982,-0.99995601,39.608226,75.665997)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="9.125"
inkscape:cx="32"
inkscape:cy="31.890411"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1276"
inkscape:window-height="758"
inkscape:window-x="0"
inkscape:window-y="19"
inkscape:window-maximized="0" />
<metadata
id="metadata2388">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
style="opacity:0.52360517;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.20000005;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 42.600941,13.775497 L 10.663441,25.650497 L 34.913441,59.712997 L 57.444691,51.337997 L 61.475941,40.306747 L 42.600941,13.775497 z"
id="path3199" />
<path
style="opacity:1;fill:url(#linearGradient3181);fill-opacity:1;fill-rule:nonzero;stroke:#6b6b6b;stroke-width:2.20000005;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 41.933706,4.7823134 L 9.9962056,16.657313 L 34.246206,50.719813 L 56.777456,42.344813 L 60.808706,31.313563 L 41.933706,4.7823134 z"
id="rect3163" />
<path
style="fill:url(#linearGradient3191);fill-opacity:1;fill-rule:nonzero;stroke:#731200;stroke-width:2.20000004999999987;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 19.580971,50.74391 44.506654,36.040714 19.309543,21.807683 l 0.08383,8.937106 -16.3430313,0.153302 0.1049368,11.187008 16.3430305,-0.153302 0.08266,8.812113 z"
id="rect3165"
inkscape:connector-curvature="0" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#6b6b6b;stroke-width:2.20000005;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 59.77542,31.344523 L 52.318657,30.830263 L 55.532779,42.272537"
id="path3173" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB