Add new icons for Part and Group

This commit is contained in:
Stefan Tröger
2017-07-30 15:17:41 +02:00
committed by wmayer
parent 83f99ba1b6
commit f34c77211a
8 changed files with 1104 additions and 32 deletions

View File

@@ -49,7 +49,7 @@ StdCmdPart::StdCmdPart()
sToolTipText = QT_TR_NOOP("Create a new part and make it active");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "Tree_Annotation";
sPixmap = "Geofeaturegroup.svg";
}
void StdCmdPart::activated(int iMsg)
@@ -89,7 +89,7 @@ StdCmdGroup::StdCmdGroup()
sToolTipText = QT_TR_NOOP("Create a new group for ordering objects");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "Tree_Annotation";
sPixmap = "Group.svg";
}
void StdCmdGroup::activated(int iMsg)

View File

@@ -0,0 +1,548 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
height="256"
width="256"
version="1.1"
id="svg4683"
sodipodi:docname="Geofeaturegroup.svg"
inkscape:version="0.91 r13725">
<metadata
id="metadata4689">
<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>
<defs
id="defs4687">
<linearGradient
id="linearGradient3794"
inkscape:collect="always">
<stop
id="stop3796"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop3798"
offset="1"
style="stop-color:#000000;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<inkscape:perspective
id="perspective2988"
inkscape:persp3d-origin="32 : 21.333333 : 1"
inkscape:vp_z="64 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 32 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="21.31134"
x2="17.328547"
y1="55.717518"
x1="22.116516"
id="linearGradient3773"
xlink:href="#linearGradient3767"
inkscape:collect="always"
gradientTransform="translate(0,-4)" />
<linearGradient
id="linearGradient3767"
inkscape:collect="always">
<stop
id="stop3769"
offset="0"
style="stop-color:#3465a4;stop-opacity:1" />
<stop
id="stop3771"
offset="1"
style="stop-color:#729fcf;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="21.83742"
x2="47.502235"
y1="51.179787"
x1="53.896763"
id="linearGradient3783"
xlink:href="#linearGradient3777"
inkscape:collect="always"
gradientTransform="translate(0,-4)" />
<linearGradient
id="linearGradient3777"
inkscape:collect="always">
<stop
id="stop3779"
offset="0"
style="stop-color:#204a87;stop-opacity:1" />
<stop
id="stop3781"
offset="1"
style="stop-color:#3465a4;stop-opacity:1" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)"
r="41"
fy="45"
fx="1"
cy="45"
cx="1"
id="radialGradient3800"
xlink:href="#linearGradient3794"
inkscape:collect="always" />
<radialGradient
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
r="19.467436"
fy="77.042847"
fx="84.883324"
cy="77.042847"
cx="84.883324"
gradientUnits="userSpaceOnUse"
id="radialGradient3701"
xlink:href="#linearGradient3377"
inkscape:collect="always" />
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#faff2b;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#ffaa00;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<radialGradient
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)"
r="19.467436"
fy="94.369568"
fx="76.383331"
cy="94.369568"
cx="76.383331"
gradientUnits="userSpaceOnUse"
id="radialGradient3699"
xlink:href="#linearGradient3377"
inkscape:collect="always" />
<inkscape:perspective
id="perspective2829"
inkscape:persp3d-origin="32 : 21.333333 : 1"
inkscape:vp_z="64 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 32 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
gradientTransform="translate(-62,-16)"
spreadMethod="reflect"
gradientUnits="userSpaceOnUse"
y2="35"
x2="85"
y1="35"
x1="110"
id="linearGradient3807-7"
xlink:href="#linearGradient3801-5"
inkscape:collect="always" />
<linearGradient
id="linearGradient3801-5"
inkscape:collect="always">
<stop
id="stop3803-3"
offset="0"
style="stop-color:#c4a000;stop-opacity:1" />
<stop
id="stop3805-5"
offset="1"
style="stop-color:#fce94f;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3836-0-6-92-4-0">
<stop
id="stop3838-2-7-06-8-6"
offset="0"
style="stop-color:#a40000;stop-opacity:1" />
<stop
id="stop3840-5-5-8-7-2"
offset="1"
style="stop-color:#ef2929;stop-opacity:1" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4067-6"
id="radialGradient4081-3"
cx="16.481266"
cy="23.519165"
fx="16.481266"
fy="23.519165"
r="6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.732702,3.0198439,-3.942036,3.2272068,142.91392,5.997893)" />
<linearGradient
id="linearGradient4067-6">
<stop
style="stop-color:#888a85;stop-opacity:1;"
offset="0"
id="stop4069-7" />
<stop
style="stop-color:#2e3436;stop-opacity:1;"
offset="1"
id="stop4071-5" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3972"
id="linearGradient4004"
x1="36.71875"
y1="35.688774"
x2="56"
y2="35.688774"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7157585,0,0,2.7157585,-401.20082,21.075878)" />
<linearGradient
id="linearGradient3972">
<stop
id="stop3974"
offset="0"
style="stop-color:#8ae234;stop-opacity:1;" />
<stop
id="stop3976"
offset="1"
style="stop-color:#73d216;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(2.7440576,0,0,1.8860234,-564.00418,26.205109)"
inkscape:collect="always"
xlink:href="#linearGradient3972"
id="linearGradient3970"
x1="99.075409"
y1="16.470234"
x2="117.81521"
y2="15.97659"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3892"
id="linearGradient3908"
x1="34"
y1="18"
x2="57"
y2="24"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7157585,0,0,2.7157585,-401.20082,21.075878)" />
<linearGradient
id="linearGradient3892">
<stop
style="stop-color:#8ae234;stop-opacity:1;"
offset="0"
id="stop3894" />
<stop
style="stop-color:#4e9a06;stop-opacity:1;"
offset="1"
id="stop3896" />
</linearGradient>
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1848"
inkscape:window-height="1043"
id="namedview4685"
showgrid="false"
inkscape:zoom="1.1835752"
inkscape:cx="-40.672897"
inkscape:cy="182.96519"
inkscape:window-x="72"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4683" />
<radialGradient
id="a"
cx="-25"
cy="203.5"
gradientTransform="matrix(1,0,0,0.78571429,0,43.607143)"
gradientUnits="userSpaceOnUse"
r="35">
<stop
offset="0"
id="stop4660" />
<stop
offset="1"
stop-opacity="0"
id="stop4662" />
</radialGradient>
<g
transform="matrix(0.87508221,0,0,0.87508221,-362.5247,-868.64133)"
id="g4681">
<path
d="m 10,203.5 a 35,27.5 0 1 1 -70,0 35,27.5 0 1 1 70,0 z"
transform="matrix(5.0857143,0,0,1.0909091,255.14286,788.3622)"
id="path4665"
style="opacity:0.55;fill:url(#a)"
inkscape:connector-curvature="0" />
<path
d="m 0,832.59752 0,171.29388 256,0 0,-85.6468 -12.19048,-73.412 L 148,844.3622 l -12,-24 -123.80952,0 C 6.09524,820.3622 0,826.47984 0,832.59752 Z"
id="path4667"
inkscape:connector-curvature="0"
style="fill:#ef6c00" />
<path
d="m 20,852.36212 126.28571,0 0,47.52914 -126.28571,0 z"
id="path4669"
inkscape:connector-curvature="0"
style="fill:#fffdf0" />
<path
d="m 12.25,820.3622 c -6.09524,0 -12.25,6.13232 -12.25,12.25 l 0,8 c 0,-6.11768 6.15476,-12.25 12.25,-12.25 l 119.75,0 12,24 99.75,0.5 12.25,73.375 0,-8 -12.25,-73.375 -95.75,-0.5 -12,-24 z"
id="path4671"
inkscape:connector-curvature="0"
style="opacity:0.02999998" />
<path
d="m 256,857.0682 0,171.294 -256,0 0,-160 120,0 12,-24 111.80952,0.4704 c 6.09524,0 12.19048,6.118 12.19048,12.2356 z"
id="path4673"
inkscape:connector-curvature="0"
style="fill:#ffa726" />
<path
d="m 0,1020.3622 0,8 256,0 0,-8 z"
id="path4675"
inkscape:connector-curvature="0"
style="opacity:0.15" />
<path
d="m 134.09524,850.9506 -30.4762,18.3528 18.28572,0 z"
id="path4677"
inkscape:connector-curvature="0"
style="fill:none" />
<path
d="m 132,844.3622 -12,24 -120,0 0,8 124,0 12,-24 107.75,0.5 c 6.09524,0 12.25,6.1324 12.25,12.25 l 0,-8 c 0,-6.1176 -6.15476,-12.25 -12.25,-12.25 z"
id="path4679"
inkscape:connector-curvature="0"
style="opacity:0.02999998" />
</g>
<g
id="g4036-9-5"
transform="matrix(3.9446872,-2.7605595,4.3293163,3.0297297,-29.856469,72.292634)"
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75300193;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8-3"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1-56"
width="23"
height="6"
x="-25"
y="-38"
transform="scale(-1,-1)" />
</g>
</g>
<g
id="g4036-9"
transform="matrix(-2.7612809,-3.9436566,3.0305215,-4.3281852,36.008591,278.28315)"
style="fill:#cc0000;stroke:#280000;stroke-width:1.75300193;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#cc0000;stroke:#280000;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#cc0000;stroke:#280000;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1"
width="23"
height="6"
x="-25"
y="-38"
transform="scale(-1,-1)" />
</g>
</g>
<path
style="fill:none;stroke:#ef2929;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 101.74791,133.72988 0,-119.971012"
id="path4083-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:#73d216;stroke:#729fcf;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 114.73428,138.01456 120.00253,0"
id="path4083-0-29"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
id="g4036-9-3"
transform="matrix(3.8539874,-2.7605595,4.229773,3.0297297,-46.864179,116.89792)"
style="fill:#73d216;stroke:#172a04;stroke-width:1.77350962;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8-5"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#73d216;stroke:#172a04;stroke-width:1.77167654;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#73d216;stroke:#172a04;stroke-width:1.79764783;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1-6"
width="26.344721"
height="5.3929434"
x="12.011514"
y="-22.444706"
transform="matrix(-0.61733264,0.78670224,-0.61733264,-0.78670224,0,0)" />
</g>
</g>
<path
style="fill:none;stroke:#8ae234;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.594111,226.73239 82.72374,-82.655"
id="path4083-0-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<ellipse
style="fill:url(#radialGradient4081-3);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8.5704937"
id="path11841-1"
cx="106.03366"
cy="142.29953"
rx="21.429024"
ry="21.423424" />
<g
inkscape:label="Layer 1"
id="layer1"
transform="matrix(2.2725886,0,0,2.418458,4.7713937,47.993306)">
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path2993"
d="M 3,13 37,19 61,11 31,7 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path2995"
d="M 61,11 61,47 37,57 37,19 Z"
style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 3,13 37,19 37,57 3,51 Z"
id="path3825"
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3765"
d="m 5,15.42772 0.00867,33.919116 30.008671,5.268799 -0.0087,-33.933614 z"
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3775"
d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4275"
transform="matrix(1.433359,0,0,1.9757465,604.40469,-7.1689356)">
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3890"
d="m -246.4026,40.086188 0,81.472752 c -21.90395,8.7208 -33.86771,6.28731 -62.46245,0 l 0,-81.472752 z"
style="fill:url(#linearGradient3908);fill-opacity:1;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3962"
d="m -251.83412,48.233464 0,70.609726"
style="fill:none;stroke:#73d216;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:open="true"
sodipodi:end="6.2816523"
sodipodi:start="0"
transform="matrix(0.99984252,0.0177464,-0.19808478,0.98018489,0,0)"
d="m -235.90103,49.780407 a 31.74497,9.9438305 0 0 1 -31.7328,9.94383 31.74497,9.9438305 0 0 1 -31.75713,-9.936208 31.74497,9.9438305 0 0 1 31.70846,-9.951446 31.74497,9.9438305 0 0 1 31.78144,9.92858"
sodipodi:ry="9.9438305"
sodipodi:rx="31.74497"
sodipodi:cy="49.780407"
sodipodi:cx="-267.646"
id="path3870-2"
style="fill:#73d216;stroke:url(#linearGradient3970);stroke-width:4.34565067;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3996"
d="m -246.4026,116.12743 c -23.54166,9.22746 -41.49842,5.99385 -59.74669,0"
style="fill:none;stroke:url(#linearGradient4004);stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path3890-6"
d="m -308.86505,121.55894 0,-81.472752 62.46245,0 0,81.472752"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4"
d="m -268.12867,126.99046 -32.5891,-81.472755"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:open="true"
sodipodi:end="6.2816523"
sodipodi:start="0"
transform="matrix(0.99984252,0.0177464,-0.19808478,0.98018489,0,0)"
d="m -236.97976,45.187111 a 31.74497,9.9438305 0 0 1 -31.73281,9.94383 31.74497,9.9438305 0 0 1 -31.75712,-9.936208 31.74497,9.9438305 0 0 1 31.70846,-9.951446 31.74497,9.9438305 0 0 1 31.78143,9.92858"
sodipodi:ry="9.9438305"
sodipodi:rx="31.74497"
sodipodi:cy="45.187111"
sodipodi:cx="-268.72473"
id="path3870"
style="fill:#8ae234;fill-opacity:1;stroke:#172a04;stroke-width:4.34565067;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-5"
d="m -268.12867,126.99046 0,-78.756996"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8"
d="M -246.4026,99.832876 -268.12867,48.233464"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-1"
d="m -281.70746,31.938912 -19.01031,13.578793"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-7"
d="M -268.12867,50.949222 -278.9917,29.223154"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-4"
d="m -268.12867,50.949222 13.57879,-19.01031"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 20 KiB

548
src/Gui/Icons/Group.svg Normal file
View File

@@ -0,0 +1,548 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
height="256"
width="256"
version="1.1"
id="svg4683"
sodipodi:docname="Group.svg"
inkscape:version="0.91 r13725">
<metadata
id="metadata4689">
<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>
<defs
id="defs4687">
<linearGradient
id="linearGradient3794"
inkscape:collect="always">
<stop
id="stop3796"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop3798"
offset="1"
style="stop-color:#000000;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#71b2f8;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#002795;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<inkscape:perspective
id="perspective2988"
inkscape:persp3d-origin="32 : 21.333333 : 1"
inkscape:vp_z="64 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 32 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="21.31134"
x2="17.328547"
y1="55.717518"
x1="22.116516"
id="linearGradient3773"
xlink:href="#linearGradient3767"
inkscape:collect="always"
gradientTransform="translate(0,-4)" />
<linearGradient
id="linearGradient3767"
inkscape:collect="always">
<stop
id="stop3769"
offset="0"
style="stop-color:#3465a4;stop-opacity:1" />
<stop
id="stop3771"
offset="1"
style="stop-color:#729fcf;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="21.83742"
x2="47.502235"
y1="51.179787"
x1="53.896763"
id="linearGradient3783"
xlink:href="#linearGradient3777"
inkscape:collect="always"
gradientTransform="translate(0,-4)" />
<linearGradient
id="linearGradient3777"
inkscape:collect="always">
<stop
id="stop3779"
offset="0"
style="stop-color:#204a87;stop-opacity:1" />
<stop
id="stop3781"
offset="1"
style="stop-color:#3465a4;stop-opacity:1" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)"
r="41"
fy="45"
fx="1"
cy="45"
cx="1"
id="radialGradient3800"
xlink:href="#linearGradient3794"
inkscape:collect="always" />
<radialGradient
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
r="19.467436"
fy="77.042847"
fx="84.883324"
cy="77.042847"
cx="84.883324"
gradientUnits="userSpaceOnUse"
id="radialGradient3701"
xlink:href="#linearGradient3377"
inkscape:collect="always" />
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#faff2b;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#ffaa00;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<radialGradient
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)"
r="19.467436"
fy="94.369568"
fx="76.383331"
cy="94.369568"
cx="76.383331"
gradientUnits="userSpaceOnUse"
id="radialGradient3699"
xlink:href="#linearGradient3377"
inkscape:collect="always" />
<inkscape:perspective
id="perspective2829"
inkscape:persp3d-origin="32 : 21.333333 : 1"
inkscape:vp_z="64 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 32 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
gradientTransform="translate(-62,-16)"
spreadMethod="reflect"
gradientUnits="userSpaceOnUse"
y2="35"
x2="85"
y1="35"
x1="110"
id="linearGradient3807-7"
xlink:href="#linearGradient3801-5"
inkscape:collect="always" />
<linearGradient
id="linearGradient3801-5"
inkscape:collect="always">
<stop
id="stop3803-3"
offset="0"
style="stop-color:#c4a000;stop-opacity:1" />
<stop
id="stop3805-5"
offset="1"
style="stop-color:#fce94f;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3836-0-6-92-4-0">
<stop
id="stop3838-2-7-06-8-6"
offset="0"
style="stop-color:#a40000;stop-opacity:1" />
<stop
id="stop3840-5-5-8-7-2"
offset="1"
style="stop-color:#ef2929;stop-opacity:1" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4067-6"
id="radialGradient4081-3"
cx="16.481266"
cy="23.519165"
fx="16.481266"
fy="23.519165"
r="6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.732702,3.0198439,-3.942036,3.2272068,-191.66558,-47.230664)" />
<linearGradient
id="linearGradient4067-6">
<stop
style="stop-color:#888a85;stop-opacity:1;"
offset="0"
id="stop4069-7" />
<stop
style="stop-color:#2e3436;stop-opacity:1;"
offset="1"
id="stop4071-5" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3972"
id="linearGradient4004"
x1="36.71875"
y1="35.688774"
x2="56"
y2="35.688774"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7157585,0,0,2.7157585,-401.20082,21.075878)" />
<linearGradient
id="linearGradient3972">
<stop
id="stop3974"
offset="0"
style="stop-color:#8ae234;stop-opacity:1;" />
<stop
id="stop3976"
offset="1"
style="stop-color:#73d216;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(2.7440576,0,0,1.8860234,-564.00418,26.205109)"
inkscape:collect="always"
xlink:href="#linearGradient3972"
id="linearGradient3970"
x1="99.075409"
y1="16.470234"
x2="117.81521"
y2="15.97659"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3892"
id="linearGradient3908"
x1="34"
y1="18"
x2="57"
y2="24"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7157585,0,0,2.7157585,-401.20082,21.075878)" />
<linearGradient
id="linearGradient3892">
<stop
style="stop-color:#8ae234;stop-opacity:1;"
offset="0"
id="stop3894" />
<stop
style="stop-color:#4e9a06;stop-opacity:1;"
offset="1"
id="stop3896" />
</linearGradient>
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1848"
inkscape:window-height="1043"
id="namedview4685"
showgrid="false"
inkscape:zoom="1.1835752"
inkscape:cx="-40.672897"
inkscape:cy="182.96519"
inkscape:window-x="72"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4683" />
<radialGradient
id="a"
cx="-25"
cy="203.5"
gradientTransform="matrix(1,0,0,0.78571429,0,43.607143)"
gradientUnits="userSpaceOnUse"
r="35">
<stop
offset="0"
id="stop4660" />
<stop
offset="1"
stop-opacity="0"
id="stop4662" />
</radialGradient>
<g
transform="matrix(0.87508221,0,0,0.87508221,19.369072,-685.29852)"
id="g4681">
<path
d="m 10,203.5 a 35,27.5 0 1 1 -70,0 35,27.5 0 1 1 70,0 z"
transform="matrix(5.0857143,0,0,1.0909091,255.14286,788.3622)"
id="path4665"
style="opacity:0.55;fill:url(#a)"
inkscape:connector-curvature="0" />
<path
d="m 0,832.59752 0,171.29388 256,0 0,-85.6468 -12.19048,-73.412 L 148,844.3622 l -12,-24 -123.80952,0 C 6.09524,820.3622 0,826.47984 0,832.59752 Z"
id="path4667"
inkscape:connector-curvature="0"
style="fill:#ef6c00" />
<path
d="m 20,852.36212 126.28571,0 0,47.52914 -126.28571,0 z"
id="path4669"
inkscape:connector-curvature="0"
style="fill:#fffdf0" />
<path
d="m 12.25,820.3622 c -6.09524,0 -12.25,6.13232 -12.25,12.25 l 0,8 c 0,-6.11768 6.15476,-12.25 12.25,-12.25 l 119.75,0 12,24 99.75,0.5 12.25,73.375 0,-8 -12.25,-73.375 -95.75,-0.5 -12,-24 z"
id="path4671"
inkscape:connector-curvature="0"
style="opacity:0.02999998" />
<path
d="m 256,857.0682 0,171.294 -256,0 0,-160 120,0 12,-24 111.80952,0.4704 c 6.09524,0 12.19048,6.118 12.19048,12.2356 z"
id="path4673"
inkscape:connector-curvature="0"
style="fill:#ffa726" />
<path
d="m 0,1020.3622 0,8 256,0 0,-8 z"
id="path4675"
inkscape:connector-curvature="0"
style="opacity:0.15" />
<path
d="m 134.09524,850.9506 -30.4762,18.3528 18.28572,0 z"
id="path4677"
inkscape:connector-curvature="0"
style="fill:none" />
<path
d="m 132,844.3622 -12,24 -120,0 0,8 124,0 12,-24 107.75,0.5 c 6.09524,0 12.25,6.1324 12.25,12.25 l 0,-8 c 0,-6.1176 -6.15476,-12.25 -12.25,-12.25 z"
id="path4679"
inkscape:connector-curvature="0"
style="opacity:0.02999998" />
</g>
<g
id="g4036-9-5"
transform="matrix(3.9446872,-2.7605595,4.3293163,3.0297297,-364.43597,19.064077)"
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75300193;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8-3"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#3465a4;stroke:#0b1521;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1-56"
width="23"
height="6"
x="-25"
y="-38"
transform="scale(-1,-1)" />
</g>
</g>
<g
id="g4036-9"
transform="matrix(-2.7612809,-3.9436566,3.0305215,-4.3281852,-298.57091,225.05459)"
style="fill:#cc0000;stroke:#280000;stroke-width:1.75300193;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#cc0000;stroke:#280000;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#cc0000;stroke:#280000;stroke-width:1.75119007;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1"
width="23"
height="6"
x="-25"
y="-38"
transform="scale(-1,-1)" />
</g>
</g>
<path
style="fill:none;stroke:#ef2929;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -232.83159,80.501322 0,-119.971011"
id="path4083-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:#73d216;stroke:#729fcf;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -219.84522,84.786002 120.002528,0"
id="path4083-0-29"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
id="g4036-9-3"
transform="matrix(3.8539874,-2.7605595,4.229773,3.0297297,-381.44368,63.669362)"
style="fill:#73d216;stroke:#172a04;stroke-width:1.77350962;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<g
id="g4033-8-5"
transform="matrix(0.70857077,0.64561924,-0.7760537,0.70710678,30.848953,1.7173836)"
style="fill:#73d216;stroke:#172a04;stroke-width:1.77167654;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<rect
style="fill:#73d216;stroke:#172a04;stroke-width:1.79764783;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3261-1-6"
width="26.344721"
height="5.3929434"
x="12.011514"
y="-22.444706"
transform="matrix(-0.61733264,0.78670224,-0.61733264,-0.78670224,0,0)" />
</g>
</g>
<path
style="fill:none;stroke:#8ae234;stroke-width:8.57048988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -317.98539,173.50383 82.72374,-82.654998"
id="path4083-0-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<ellipse
style="fill:url(#radialGradient4081-3);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:8.5704937"
id="path11841-1"
cx="-228.54584"
cy="89.070976"
rx="21.429024"
ry="21.423424" />
<g
inkscape:label="Layer 1"
id="layer1"
transform="matrix(2.0070729,0,0,2.0260939,-319.19936,27.597942)">
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path2993"
d="M 3,13 37,19 61,11 31,7 Z"
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path2995"
d="M 61,11 61,47 37,57 37,19 Z"
style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#0b1521;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 3,13 37,19 37,57 3,51 Z"
id="path3825"
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3765"
d="m 5,15.42772 0.00867,33.919116 30.008671,5.268799 -0.0087,-33.933614 z"
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3775"
d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z"
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4275"
transform="matrix(1.0660729,0,0,1.3533555,146.7629,-79.377444)">
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path3890"
d="m -246.4026,40.086188 0,81.472752 c -21.90395,8.7208 -33.86771,6.28731 -62.46245,0 l 0,-81.472752 z"
style="fill:url(#linearGradient3908);fill-opacity:1;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3962"
d="m -251.83412,48.233464 0,70.609726"
style="fill:none;stroke:#73d216;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:open="true"
sodipodi:end="6.2816523"
sodipodi:start="0"
transform="matrix(0.99984252,0.0177464,-0.19808478,0.98018489,0,0)"
d="m -235.90103,49.780407 a 31.74497,9.9438305 0 0 1 -31.7328,9.94383 31.74497,9.9438305 0 0 1 -31.75713,-9.936208 31.74497,9.9438305 0 0 1 31.70846,-9.951446 31.74497,9.9438305 0 0 1 31.78144,9.92858"
sodipodi:ry="9.9438305"
sodipodi:rx="31.74497"
sodipodi:cy="49.780407"
sodipodi:cx="-267.646"
id="path3870-2"
style="fill:#73d216;stroke:url(#linearGradient3970);stroke-width:4.34565067;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3996"
d="m -246.4026,116.12743 c -23.54166,9.22746 -41.49842,5.99385 -59.74669,0"
style="fill:none;stroke:url(#linearGradient4004);stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path3890-6"
d="m -308.86505,121.55894 0,-81.472752 62.46245,0 0,81.472752"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4"
d="m -268.12867,126.99046 -32.5891,-81.472755"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:open="true"
sodipodi:end="6.2816523"
sodipodi:start="0"
transform="matrix(0.99984252,0.0177464,-0.19808478,0.98018489,0,0)"
d="m -236.97976,45.187111 a 31.74497,9.9438305 0 0 1 -31.73281,9.94383 31.74497,9.9438305 0 0 1 -31.75712,-9.936208 31.74497,9.9438305 0 0 1 31.70846,-9.951446 31.74497,9.9438305 0 0 1 31.78143,9.92858"
sodipodi:ry="9.9438305"
sodipodi:rx="31.74497"
sodipodi:cy="45.187111"
sodipodi:cx="-268.72473"
id="path3870"
style="fill:#8ae234;fill-opacity:1;stroke:#172a04;stroke-width:4.34565067;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-5"
d="m -268.12867,126.99046 0,-78.756996"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8"
d="M -246.4026,99.832876 -268.12867,48.233464"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-1"
d="m -281.70746,31.938912 -19.01031,13.578793"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-7"
d="M -268.12867,50.949222 -278.9917,29.223154"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3848-4-8-4"
d="m -268.12867,50.949222 13.57879,-19.01031"
style="fill:none;stroke:#172a04;stroke-width:5.43151712;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -153,6 +153,8 @@
<file>colors.svg</file>
<file>px.svg</file>
<file>AddonManager.svg</file>
<file>Group.svg</file>
<file>Geofeaturegroup.svg</file>
</qresource>
<!-- Alternative directory names for icons that should be loaded from a theme -->
<!-- See also http://permalink.gmane.org/gmane.comp.lib.qt.general/26374 -->

View File

@@ -59,6 +59,8 @@ ViewProviderDocumentObjectGroup::ViewProviderDocumentObjectGroup()
setDefaultMode(SO_SWITCH_ALL);
#endif
ViewProviderGroupExtension::initExtension(this);
sPixmap = "Group.svg";
}
ViewProviderDocumentObjectGroup::~ViewProviderDocumentObjectGroup()
@@ -94,19 +96,6 @@ void ViewProviderDocumentObjectGroup::getViewProviders(std::vector<ViewProviderD
}
}
/**
* Returns the pixmap for the list item.
*/
QIcon ViewProviderDocumentObjectGroup::getIcon() const
{
QIcon groupIcon;
groupIcon.addPixmap(QApplication::style()->standardPixmap(QStyle::SP_DirClosedIcon),
QIcon::Normal, QIcon::Off);
groupIcon.addPixmap(QApplication::style()->standardPixmap(QStyle::SP_DirOpenIcon),
QIcon::Normal, QIcon::On);
return groupIcon;
}
// Python feature -----------------------------------------------------------------------

View File

@@ -42,7 +42,6 @@ public:
/// destructor.
virtual ~ViewProviderDocumentObjectGroup();
QIcon getIcon(void) const;
/// returns a list of all possible modes
std::vector<std::string> getDisplayModes(void) const;
bool isShow(void) const;

View File

@@ -52,6 +52,8 @@ PROPERTY_SOURCE_WITH_EXTENSIONS(Gui::ViewProviderPart, Gui::ViewProviderDocument
ViewProviderPart::ViewProviderPart()
{
initExtension(this);
sPixmap = "Geofeaturegroup.svg";
}
ViewProviderPart::~ViewProviderPart()
@@ -96,20 +98,6 @@ bool ViewProviderPart::doubleClicked(void)
return true;
}
/**
* Returns the pixmap for the list item.
*/
QIcon ViewProviderPart::getIcon() const
{
// TODO Make a nice icon for the part (2015-09-01, Fat-Zer)
QIcon groupIcon;
groupIcon.addPixmap(QApplication::style()->standardPixmap(QStyle::SP_DirClosedIcon),
QIcon::Normal, QIcon::Off);
groupIcon.addPixmap(QApplication::style()->standardPixmap(QStyle::SP_DirOpenIcon),
QIcon::Normal, QIcon::On);
return groupIcon;
}
// Python feature -----------------------------------------------------------------------
namespace Gui {

View File

@@ -42,8 +42,6 @@ public:
/// destructor.
virtual ~ViewProviderPart();
QIcon getIcon(void) const;
virtual bool doubleClicked(void);
protected:
/// get called by the container whenever a property has been changed