+ Add new SVG icons
This commit is contained in:
parent
476f609e04
commit
951b086993
|
@ -351,6 +351,10 @@ public:
|
|||
/// recalculate the feature
|
||||
App::DocumentObjectExecReturn *execute(void);
|
||||
short mustExecute() const;
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName(void) const {
|
||||
return "PartGui::ViewProviderWedge";
|
||||
}
|
||||
//@}
|
||||
|
||||
protected:
|
||||
|
|
|
@ -110,6 +110,7 @@ void PartGuiExport initPartGui()
|
|||
PartGui::ViewProviderPython ::init();
|
||||
PartGui::ViewProviderBox ::init();
|
||||
PartGui::ViewProviderPrism ::init();
|
||||
PartGui::ViewProviderWedge ::init();
|
||||
PartGui::ViewProviderImport ::init();
|
||||
PartGui::ViewProviderCurveNet ::init();
|
||||
PartGui::ViewProviderExtrusion ::init();
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
<file>icons/Tree_Part_Ellipsoid_Parametric.svg</file>
|
||||
<file>icons/Tree_Part_Torus_Parametric.svg</file>
|
||||
<file>icons/Tree_Part_Plane_Parametric.svg</file>
|
||||
<file>icons/Tree_Part_Prism.svg</file>
|
||||
<file>icons/Tree_Part_Wedge.svg</file>
|
||||
<file>translations/Part_af.qm</file>
|
||||
<file>translations/Part_de.qm</file>
|
||||
<file>translations/Part_fi.qm</file>
|
||||
|
|
320
src/Mod/Part/Gui/Resources/icons/Tree_Part_Prism.svg
Normal file
320
src/Mod/Part/Gui/Resources/icons/Tree_Part_Prism.svg
Normal file
|
@ -0,0 +1,320 @@
|
|||
<?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="svg2860"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.48.3.1 r9886"
|
||||
sodipodi:docname="Tree_Part_Prism_Parametric_ver2.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1">
|
||||
<defs
|
||||
id="defs2862">
|
||||
<linearGradient
|
||||
id="linearGradient4387">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391" />
|
||||
</linearGradient>
|
||||
<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>
|
||||
<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="perspective2868" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-3"
|
||||
id="radialGradient3692-5"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377-3">
|
||||
<stop
|
||||
id="stop3379-8"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-3"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="28.869568"
|
||||
fx="45.883327"
|
||||
cy="28.869568"
|
||||
cx="45.883327"
|
||||
gradientTransform="matrix(0.63187902,0.88744646,-0.67341415,0.23186573,-41.828034,-124.32565)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4514"
|
||||
xlink:href="#linearGradient3377-3"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4387-5"
|
||||
id="radialGradient3705-4"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="147.05713"
|
||||
cy="83.989143"
|
||||
fx="147.05713"
|
||||
fy="83.989143"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(1.2966028,0.17711231,-0.14092861,1.0317094,-32.689929,-29.109274)" />
|
||||
<linearGradient
|
||||
id="linearGradient4387-5">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389-6" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391-2" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="83.989143"
|
||||
fx="147.05713"
|
||||
cy="83.989143"
|
||||
cx="147.05713"
|
||||
gradientTransform="matrix(1.4123273,0.13801793,-0.12102369,1.1086759,-180.60462,-95.713949)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3024"
|
||||
xlink:href="#linearGradient4387-5"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4387-3"
|
||||
id="radialGradient3703-0"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="131.48187"
|
||||
cy="93.557289"
|
||||
fx="131.48187"
|
||||
fy="93.557289"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.52711064,1.8158874,-1.4534843,0.42191331,203.23405,-187.6583)" />
|
||||
<linearGradient
|
||||
id="linearGradient4387-3">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389-4" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391-9" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="93.557289"
|
||||
fx="131.48187"
|
||||
cy="93.557289"
|
||||
cx="131.48187"
|
||||
gradientTransform="matrix(0.59630936,1.9436852,-1.6442967,0.45160656,70.303373,-268.29429)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3058"
|
||||
xlink:href="#linearGradient4387-3"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="93.557289"
|
||||
fx="131.48187"
|
||||
cy="93.557289"
|
||||
cx="131.48187"
|
||||
gradientTransform="matrix(0.52711064,1.8158874,-1.4534843,0.42191331,66.132635,-253.27155)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3058-8"
|
||||
xlink:href="#linearGradient4387-3-7"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient4387-3-7">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389-4-2" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391-9-1" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="93.557289"
|
||||
fx="131.48187"
|
||||
cy="93.557289"
|
||||
cx="131.48187"
|
||||
gradientTransform="matrix(0.59630936,1.9436852,-1.6442967,0.45160656,103.17406,-267.29058)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3092"
|
||||
xlink:href="#linearGradient4387-3-7"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
id="radialGradient3692-3"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377-6">
|
||||
<stop
|
||||
id="stop3379-5"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-8"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="28.869568"
|
||||
fx="45.883327"
|
||||
cy="28.869568"
|
||||
cx="45.883327"
|
||||
gradientTransform="matrix(1.1312793,0,0,1.0703776,-158.49213,-68.29977)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3126"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
inkscape:collect="always" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="6.3984375"
|
||||
inkscape:cx="17.080818"
|
||||
inkscape:cy="7.124738"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="1280"
|
||||
inkscape:window-height="1004"
|
||||
inkscape:window-x="1278"
|
||||
inkscape:window-y="-3"
|
||||
inkscape:window-maximized="1" />
|
||||
<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:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<path
|
||||
style="fill:url(#radialGradient3024);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.85142541;stroke-linecap:butt;stroke-linejoin:round;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 38.33232,5.5308669 -18.349108,3.2513508 -6.61925,9.6647163 12.829363,7.991843 -0.314298,33.355739 19.612239,-3.796721 0.413114,-33.888239 6.115084,-10.21315 z"
|
||||
id="rect3522-1"
|
||||
sodipodi:nodetypes="ccccccccc"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:url(#radialGradient3058);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.85142541;stroke-linecap:butt;stroke-linejoin:round;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 13.450983,18.699912 26.148331,27.153724 25.971525,59.841171 13.658096,50.488694 z"
|
||||
id="rect3520-0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:url(#radialGradient3092);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.85142541;stroke-linecap:butt;stroke-linejoin:round;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 45.791249,22.380234 6.685959,-10.282371 -0.176807,35.865906 -6.519882,7.900118 z"
|
||||
id="rect3520-0-7"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:url(#radialGradient3126);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.85142541;stroke-linecap:round;stroke-linejoin:round;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 27.267911,26.247485 44.686819,23.018314"
|
||||
id="path3536-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff2600;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="M 26.103026,27.641039 25.84781,59.729169"
|
||||
id="path4461"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(1.0503515,0,0,0.90238531,-12.398779,6.6026828)" />
|
||||
<path
|
||||
style="fill:url(#radialGradient4514);fill-opacity:1;fill-rule:evenodd;stroke:#ff2600;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;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 13.510282,50.443898 24.13857,58.585867"
|
||||
id="path3536-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465-9"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.88113276,0,0,0.91814819,-6.7715426,39.240672)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465-1"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.87371171,0,0,0.98556681,-18.524344,28.934309)" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 12 KiB |
236
src/Mod/Part/Gui/Resources/icons/Tree_Part_Wedge.svg
Normal file
236
src/Mod/Part/Gui/Resources/icons/Tree_Part_Wedge.svg
Normal file
|
@ -0,0 +1,236 @@
|
|||
<?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="svg2860"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.48.3.1 r9886"
|
||||
sodipodi:docname="Tree_Part_Wedge_Parametric_ver2.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1">
|
||||
<defs
|
||||
id="defs2862">
|
||||
<linearGradient
|
||||
id="linearGradient4387">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3692"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4387"
|
||||
id="radialGradient3703"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="131.48187"
|
||||
cy="93.557289"
|
||||
fx="131.48187"
|
||||
fy="93.557289"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.52711064,1.8158874,-1.4534843,0.42191331,203.23405,-187.6583)" />
|
||||
<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
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4387"
|
||||
id="radialGradient3705"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="147.05713"
|
||||
cy="83.989143"
|
||||
fx="147.05713"
|
||||
fy="83.989143"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(1.2966028,0.17711231,-0.14092861,1.0317094,-32.689929,-29.109274)" />
|
||||
<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="perspective2868" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-3"
|
||||
id="radialGradient3692-5"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377-3">
|
||||
<stop
|
||||
id="stop3379-8"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-3"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="19.467436"
|
||||
fy="28.869568"
|
||||
fx="45.883327"
|
||||
cy="28.869568"
|
||||
cx="45.883327"
|
||||
gradientTransform="translate(-127.36015,-34.778367)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4514"
|
||||
xlink:href="#linearGradient3377-3"
|
||||
inkscape:collect="always" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="12.796875"
|
||||
inkscape:cx="30.366746"
|
||||
inkscape:cy="31.695912"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="1280"
|
||||
inkscape:window-height="1004"
|
||||
inkscape:window-x="1278"
|
||||
inkscape:window-y="-3"
|
||||
inkscape:window-maximized="1" />
|
||||
<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:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g3618"
|
||||
transform="translate(-129.7515,-68.681262)"
|
||||
style="stroke-width:3.5;stroke-miterlimit:4;stroke-dasharray:none">
|
||||
<path
|
||||
style="fill:url(#radialGradient3705);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:round;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 168.90176,73.626966 -35.83395,11.164558 28.62011,8.212363 0.6599,31.475163 21.65799,-31.220363 -0.0493,-15.942842 z"
|
||||
id="rect3522"
|
||||
sodipodi:nodetypes="ccccccc"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:url(#radialGradient3703);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:round;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 132.97421,84.998317 29.82217,8.366836 0,31.319677 -30.02981,-8.26868 z"
|
||||
id="rect3520"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:url(#radialGradient3692);fill-opacity:1;fill-rule:evenodd;stroke:#000137;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;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 162.17177,93.019392 21.7272,-15.363617"
|
||||
id="path3536"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#ff2600;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="M 32.976801,25.006105 32.820507,55.716728"
|
||||
id="path4461"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff2600;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="M 2.8913311,47.746031 31.257632,55.873016"
|
||||
id="path4463"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.93205324,0,0,0.7799601,-0.92763143,8.0432117)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465-9"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.6938634,0,0,0.73149657,29.031039,8.9120735)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465-1"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.75952879,0,0,0.74537368,-24.502907,31.348907)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ff2600;fill-opacity:1;stroke:#ff2600;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path4465-0"
|
||||
sodipodi:cx="36.376068"
|
||||
sodipodi:cy="21.84127"
|
||||
sodipodi:rx="2.3052504"
|
||||
sodipodi:ry="2.4615386"
|
||||
d="m 38.681319,21.84127 a 2.3052504,2.4615386 0 1 1 -4.610501,0 2.3052504,2.4615386 0 1 1 4.610501,0 z"
|
||||
transform="matrix(0.77909858,0,0,0.71608192,4.3627539,40.271949)" />
|
||||
<path
|
||||
style="fill:url(#radialGradient4514);fill-opacity:1;fill-rule:evenodd;stroke:#ff2600;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;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 32.701723,55.974848 54.272636,24.435406"
|
||||
id="path3536-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 9.6 KiB |
|
@ -38,10 +38,10 @@ using namespace std;
|
|||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderPrism, PartGui::ViewProviderPart)
|
||||
|
||||
|
||||
|
||||
ViewProviderPrism::ViewProviderPrism()
|
||||
{
|
||||
//sPixmap = "Tree_Part_Cone_Parametric.svg";
|
||||
sPixmap = "Tree_Part_Prism.svg";
|
||||
}
|
||||
|
||||
ViewProviderPrism::~ViewProviderPrism()
|
||||
|
@ -49,8 +49,6 @@ ViewProviderPrism::~ViewProviderPrism()
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
std::vector<std::string> ViewProviderPrism::getDisplayModes(void) const
|
||||
|
@ -66,3 +64,35 @@ std::vector<std::string> ViewProviderPrism::getDisplayModes(void) const
|
|||
|
||||
return StrList;
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// Construction/Destruction
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderWedge, PartGui::ViewProviderPart)
|
||||
|
||||
|
||||
ViewProviderWedge::ViewProviderWedge()
|
||||
{
|
||||
sPixmap = "Tree_Part_Wedge.svg";
|
||||
}
|
||||
|
||||
ViewProviderWedge::~ViewProviderWedge()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
std::vector<std::string> ViewProviderWedge::getDisplayModes(void) const
|
||||
{
|
||||
// get the modes of the father
|
||||
std::vector<std::string> StrList;
|
||||
|
||||
// add your own modes
|
||||
StrList.push_back("Flat Lines");
|
||||
StrList.push_back("Shaded");
|
||||
StrList.push_back("Wireframe");
|
||||
StrList.push_back("Points");
|
||||
|
||||
return StrList;
|
||||
}
|
||||
|
|
|
@ -46,6 +46,22 @@ protected:
|
|||
|
||||
};
|
||||
|
||||
class PartGuiExport ViewProviderWedge : public ViewProviderPart
|
||||
{
|
||||
PROPERTY_HEADER(PartGui::ViewProviderWedge);
|
||||
|
||||
public:
|
||||
/// constructor
|
||||
ViewProviderWedge();
|
||||
/// destructor
|
||||
virtual ~ViewProviderWedge();
|
||||
|
||||
std::vector<std::string> getDisplayModes(void) const;
|
||||
|
||||
protected:
|
||||
|
||||
};
|
||||
|
||||
} // namespace PartGui
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user