new icons for un/grouping items

preferencesAboutTextFull
-f 11 years ago
parent bb4e0b43f2
commit c6a09f4555
  1. 2
      resources/OpenBoard.qrc
  2. 250
      resources/images/groupItems.svg
  3. 311
      resources/images/ungroupItems.svg
  4. 2
      src/domain/UBGraphicsGroupContainerItemDelegate.cpp
  5. 2
      src/domain/UBSelectionFrame.cpp

@ -350,5 +350,7 @@
<file>images/centerAligned.svg</file> <file>images/centerAligned.svg</file>
<file>images/leftAligned.svg</file> <file>images/leftAligned.svg</file>
<file>images/notAligned.svg</file> <file>images/notAligned.svg</file>
<file>images/groupItems.svg</file>
<file>images/ungroupItems.svg</file>
</qresource> </qresource>
</RCC> </RCC>

@ -0,0 +1,250 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<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"
version="1.2"
x="0px"
y="0px"
width="26"
height="26"
viewBox="0 -8.908 26 26"
overflow="visible"
xml:space="preserve"
id="svg2"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="groupItems.svg"
style="overflow:visible"><metadata
id="metadata160"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1498"
inkscape:window-height="816"
id="namedview158"
showgrid="false"
inkscape:zoom="2.4583333"
inkscape:cx="-106.16949"
inkscape:cy="13.016948"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg2"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<defs
id="defs4">
<linearGradient
y2="30.6661"
x2="29.743299"
y1="47.668499"
x1="46.745602"
gradientUnits="userSpaceOnUse"
id="SVGID_6_"><stop
id="stop86"
style="stop-color:#8FB535"
offset="0" /><stop
id="stop88"
style="stop-color:#8FB535"
offset="0.3804" /><stop
id="stop90"
style="stop-color:#D8E296"
offset="0.5337" /><stop
id="stop92"
style="stop-color:#D8E296"
offset="1" /></linearGradient><linearGradient
y2="30.6654"
x2="55.410999"
y1="47.668499"
x1="72.414101"
gradientUnits="userSpaceOnUse"
id="SVGID_8_"><stop
id="stop116"
style="stop-color:#D3A522"
offset="0" /><stop
id="stop118"
style="stop-color:#D3A522"
offset="0.3804" /><stop
id="stop120"
style="stop-color:#FCDE50"
offset="0.5337" /><stop
id="stop122"
style="stop-color:#FCDE50"
offset="1" /></linearGradient><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_6_"
id="linearGradient3606"
gradientUnits="userSpaceOnUse"
x1="46.745602"
y1="47.668499"
x2="29.743299"
y2="30.6661" /><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_8_"
id="linearGradient3608"
gradientUnits="userSpaceOnUse"
x1="72.414101"
y1="47.668499"
x2="55.410999"
y2="30.6654" /></defs>
<circle
sodipodi:ry="13"
sodipodi:rx="13"
sodipodi:cy="13"
sodipodi:cx="13"
style="fill:#cccccc"
cx="13"
cy="13"
r="13"
id="circle3"
transform="translate(0,-8.908)" /><circle
sodipodi:ry="11"
sodipodi:rx="11"
sodipodi:cy="13"
sodipodi:cx="13"
style="fill:#999999"
cx="13"
cy="13"
r="11"
id="circle5"
transform="translate(0,-8.908)" /><g
transform="matrix(0.270929,0,0,0.270929,0.224227,-27.701312)"
id="g3400"><g
transform="translate(-3.898305,78.338983)"
id="g83"><linearGradient
y2="30.6661"
x2="29.743299"
y1="47.668499"
x1="46.745602"
gradientUnits="userSpaceOnUse"
id="linearGradient3501"><stop
id="stop3503"
style="stop-color:#8FB535"
offset="0" /><stop
id="stop3505"
style="stop-color:#8FB535"
offset="0.3804" /><stop
id="stop3507"
style="stop-color:#D8E296"
offset="0.5337" /><stop
id="stop3509"
style="stop-color:#D8E296"
offset="1" /></linearGradient><path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient3606)"
id="path94"
d="m 48.244,44.065 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 V 34.27 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z" /><path
style="fill:#b0cc5a"
inkscape:connector-curvature="0"
id="path96"
d="m 46.244,43.085 c 0,2.245 -1.837,4.082 -4.082,4.082 h -7.836 c -2.245,0 -4.082,-1.837 -4.082,-4.082 V 35.25 c 0,-2.245 1.837,-4.082 4.082,-4.082 h 7.836 c 2.245,0 4.082,1.837 4.082,4.082 v 7.835 z" /></g><g
transform="translate(-3.898305,78.338983)"
id="g113"><linearGradient
y2="30.6654"
x2="55.410999"
y1="47.668499"
x1="72.414101"
gradientUnits="userSpaceOnUse"
id="linearGradient3514"><stop
id="stop3516"
style="stop-color:#D3A522"
offset="0" /><stop
id="stop3518"
style="stop-color:#D3A522"
offset="0.3804" /><stop
id="stop3520"
style="stop-color:#FCDE50"
offset="0.5337" /><stop
id="stop3522"
style="stop-color:#FCDE50"
offset="1" /></linearGradient><path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient3608)"
id="path124"
d="m 73.912,44.065 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 V 34.27 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z" /><path
style="fill:#f1c537"
inkscape:connector-curvature="0"
id="path126"
d="m 71.912,43.085 c 0,2.245 -1.837,4.082 -4.082,4.082 h -7.836 c -2.245,0 -4.082,-1.837 -4.082,-4.082 V 35.25 c 0,-2.245 1.837,-4.082 4.082,-4.082 h 7.836 c 2.245,0 4.082,1.837 4.082,4.082 v 7.835 z" /></g><circle
d="m 42.360002,39.27 c 0,2.340583 -1.897418,4.238 -4.238,4.238 -2.340583,0 -4.238,-1.897417 -4.238,-4.238 0,-2.340582 1.897417,-4.237999 4.238,-4.237999 2.340582,0 4.238,1.897417 4.238,4.237999 z"
style="fill:#a4c44f;stroke:#748a26;stroke-width:1.5;stroke-miterlimit:10"
transform="translate(-3.898305,78.338983)"
sodipodi:ry="4.2379999"
sodipodi:rx="4.2379999"
sodipodi:cy="39.27"
sodipodi:cx="38.122002"
id="circle128"
r="4.2379999"
cy="39.27"
cx="38.122002"
stroke-miterlimit="10" /><rect
style="fill:#748a26;stroke:#748a26;stroke-width:1.5;stroke-linejoin:round;stroke-miterlimit:10"
id="rect130"
height="1.592"
width="1.413"
stroke-miterlimit="10"
y="111.77898"
x="33.517693" /><line
style="fill:none;stroke:#748a26;stroke-width:1.5;stroke-linecap:round;stroke-miterlimit:10"
id="line132"
y2="116.80199"
x2="36.089691"
y1="117.60898"
x1="34.223686"
stroke-miterlimit="10" /><path
style="fill:none;stroke:#82a12c;stroke-width:1.5;stroke-miterlimit:10"
inkscape:connector-curvature="0"
id="path136"
d="m 44.3457,122.40398 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 v -9.795 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
stroke-miterlimit="10" /><path
style="fill:none;stroke:#bc8d18;stroke-width:1.5;stroke-miterlimit:10"
inkscape:connector-curvature="0"
id="path138"
d="m 70.0137,122.40398 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 v -9.795 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
stroke-miterlimit="10" /><path
style="fill:none;stroke:#af511a;stroke-width:3.00976133;stroke-miterlimit:10"
inkscape:connector-curvature="0"
id="path140"
d="m 73.775315,124.75674 c 0,4.24561 -6.111628,7.71832 -13.583458,7.71832 H 34.118979 c -7.471821,0 -13.583439,-3.47271 -13.583439,-7.71832 v -14.815 c 0,-4.2456 6.111618,-7.71832 13.583439,-7.71832 h 26.072878 c 7.47183,0 13.583458,3.47272 13.583458,7.71832 v 14.815 z"
stroke-miterlimit="10" /><rect
style="fill:#d3a522;stroke:#a47817;stroke-width:1.5;stroke-linejoin:round;stroke-miterlimit:10"
id="rect156"
height="8.8719997"
width="7.3439999"
stroke-miterlimit="10"
y="112.97498"
x="56.427689" /></g></svg>

After

Width:  |  Height:  |  Size: 8.2 KiB

@ -0,0 +1,311 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<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"
version="1.2"
x="0px"
y="0px"
width="26"
height="26"
viewBox="0 -8.908 26 26"
overflow="visible"
xml:space="preserve"
id="svg2"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="ungroupItems.svg"
style="overflow:visible"><metadata
id="metadata160"><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><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="998"
inkscape:window-height="742"
id="namedview158"
showgrid="false"
inkscape:zoom="2.4583333"
inkscape:cx="-38.033898"
inkscape:cy="13.016948"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg2"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<defs
id="defs4">
<linearGradient
y2="30.6661"
x2="29.743299"
y1="47.668499"
x1="46.745602"
gradientUnits="userSpaceOnUse"
id="SVGID_6_"><stop
id="stop86"
style="stop-color:#8FB535"
offset="0" /><stop
id="stop88"
style="stop-color:#8FB535"
offset="0.3804" /><stop
id="stop90"
style="stop-color:#D8E296"
offset="0.5337" /><stop
id="stop92"
style="stop-color:#D8E296"
offset="1" /></linearGradient><linearGradient
y2="30.6654"
x2="55.410999"
y1="47.668499"
x1="72.414101"
gradientUnits="userSpaceOnUse"
id="SVGID_8_"><stop
id="stop116"
style="stop-color:#D3A522"
offset="0" /><stop
id="stop118"
style="stop-color:#D3A522"
offset="0.3804" /><stop
id="stop120"
style="stop-color:#FCDE50"
offset="0.5337" /><stop
id="stop122"
style="stop-color:#FCDE50"
offset="1" /></linearGradient><linearGradient
y2="30.6661"
x2="29.743299"
y1="47.668499"
x1="46.745602"
gradientUnits="userSpaceOnUse"
id="SVGID_6_-8"><stop
id="stop86-5"
style="stop-color:#8FB535"
offset="0" /><stop
id="stop88-6"
style="stop-color:#8FB535"
offset="0.3804" /><stop
id="stop90-9"
style="stop-color:#D8E296"
offset="0.5337" /><stop
id="stop92-4"
style="stop-color:#D8E296"
offset="1" /></linearGradient><linearGradient
y2="30.6654"
x2="55.410999"
y1="47.668499"
x1="72.414101"
gradientUnits="userSpaceOnUse"
id="SVGID_8_-2"><stop
id="stop116-0"
style="stop-color:#D3A522"
offset="0" /><stop
id="stop118-9"
style="stop-color:#D3A522"
offset="0.3804" /><stop
id="stop120-8"
style="stop-color:#FCDE50"
offset="0.5337" /><stop
id="stop122-6"
style="stop-color:#FCDE50"
offset="1" /></linearGradient><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_8_-2"
id="linearGradient3852"
gradientUnits="userSpaceOnUse"
x1="72.414101"
y1="47.668499"
x2="55.410999"
y2="30.6654" /><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_6_-8"
id="linearGradient3854"
gradientUnits="userSpaceOnUse"
x1="46.745602"
y1="47.668499"
x2="29.743299"
y2="30.6661" /><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_6_-8"
id="linearGradient3884"
gradientUnits="userSpaceOnUse"
x1="46.745602"
y1="47.668499"
x2="29.743299"
y2="30.6661" /><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_8_-2"
id="linearGradient3886"
gradientUnits="userSpaceOnUse"
x1="72.414101"
y1="47.668499"
x2="55.410999"
y2="30.6654" /></defs>
<circle
sodipodi:ry="13"
sodipodi:rx="13"
sodipodi:cy="13"
sodipodi:cx="13"
style="fill:#cccccc"
cx="13"
cy="13"
r="13"
id="circle3"
transform="translate(0,-8.908)" /><circle
sodipodi:ry="11"
sodipodi:rx="11"
sodipodi:cy="13"
sodipodi:cx="13"
style="fill:#999999"
cx="13"
cy="13"
r="11"
id="circle5"
transform="translate(0,-8.908)" /><g
id="g3856"
transform="matrix(0.270929,0,0,0.270929,-0.114801,-6.159347)"><g
transform="matrix(0.85210872,0,0,0.88203044,5.1947577,-67.743196)"
id="g3824"><g
id="g83"
transform="translate(-10.379094,80.488523)"><linearGradient
id="linearGradient3501"
gradientUnits="userSpaceOnUse"
x1="46.745602"
y1="47.668499"
x2="29.743299"
y2="30.6661"><stop
offset="0"
style="stop-color:#8FB535"
id="stop3503" /><stop
offset="0.3804"
style="stop-color:#8FB535"
id="stop3505" /><stop
offset="0.5337"
style="stop-color:#D8E296"
id="stop3507" /><stop
offset="1"
style="stop-color:#D8E296"
id="stop3509" /></linearGradient><path
d="m 48.244,44.065 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 V 34.27 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
id="path94"
style="fill:url(#linearGradient3884)"
inkscape:connector-curvature="0" /><path
d="m 46.244,43.085 c 0,2.245 -1.837,4.082 -4.082,4.082 h -7.836 c -2.245,0 -4.082,-1.837 -4.082,-4.082 V 35.25 c 0,-2.245 1.837,-4.082 4.082,-4.082 h 7.836 c 2.245,0 4.082,1.837 4.082,4.082 v 7.835 z"
id="path96"
inkscape:connector-curvature="0"
style="fill:#b0cc5a" /></g><circle
stroke-miterlimit="10"
cx="38.122002"
cy="39.27"
r="4.2379999"
id="circle128"
sodipodi:cx="38.122002"
sodipodi:cy="39.27"
sodipodi:rx="4.2379999"
sodipodi:ry="4.2379999"
transform="translate(-10.257595,80.488523)"
style="fill:#a4c44f;stroke:#748a26;stroke-width:1.5;stroke-miterlimit:10"
d="m 42.360002,39.27 c 0,2.340583 -1.897418,4.238 -4.238,4.238 -2.340583,0 -4.238,-1.897417 -4.238,-4.238 0,-2.340582 1.897417,-4.237999 4.238,-4.237999 2.340582,0 4.238,1.897417 4.238,4.237999 z" /><rect
x="27.157906"
y="113.92852"
stroke-miterlimit="10"
width="1.413"
height="1.592"
id="rect130"
style="fill:#748a26;stroke:#748a26;stroke-width:1.5;stroke-linejoin:round;stroke-miterlimit:10" /><line
stroke-miterlimit="10"
x1="26.931404"
y1="119.75852"
x2="28.797409"
y2="118.95153"
id="line132"
style="fill:none;stroke:#748a26;stroke-width:1.5;stroke-linecap:round;stroke-miterlimit:10" /><path
stroke-miterlimit="10"
d="m 37.864906,124.55352 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 v -9.795 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
id="path136"
inkscape:connector-curvature="0"
style="fill:none;stroke:#82a12c;stroke-width:1.5;stroke-miterlimit:10" /><path
stroke-miterlimit="10"
d="m 46.361907,127.51456 c 0,4.47767 -4.246818,8.1402 -9.438808,8.1402 H 18.805701 c -5.191984,0 -9.4387956,-3.66253 -9.4387956,-8.1402 v -15.62478 c 0,-4.47766 4.2468116,-8.1402 9.4387956,-8.1402 h 18.117398 c 5.19199,0 9.438808,3.66254 9.438808,8.1402 v 15.62478 z"
id="path140"
inkscape:connector-curvature="0"
style="fill:none;stroke:#af511a;stroke-width:2.57656765;stroke-miterlimit:10" /></g><g
transform="matrix(0.85210872,0,0,0.88203044,5.1947577,-68.042187)"
id="g3839"><g
id="g113"
transform="translate(9.647822,80.87365)"><linearGradient
id="linearGradient3514"
gradientUnits="userSpaceOnUse"
x1="72.414101"
y1="47.668499"
x2="55.410999"
y2="30.6654"><stop
offset="0"
style="stop-color:#D3A522"
id="stop3516" /><stop
offset="0.3804"
style="stop-color:#D3A522"
id="stop3518" /><stop
offset="0.5337"
style="stop-color:#FCDE50"
id="stop3520" /><stop
offset="1"
style="stop-color:#FCDE50"
id="stop3522" /></linearGradient><path
d="m 73.912,44.065 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 V 34.27 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
id="path124"
style="fill:url(#linearGradient3886)"
inkscape:connector-curvature="0" /><path
d="m 71.912,43.085 c 0,2.245 -1.837,4.082 -4.082,4.082 h -7.836 c -2.245,0 -4.082,-1.837 -4.082,-4.082 V 35.25 c 0,-2.245 1.837,-4.082 4.082,-4.082 h 7.836 c 2.245,0 4.082,1.837 4.082,4.082 v 7.835 z"
id="path126"
inkscape:connector-curvature="0"
style="fill:#f1c537" /></g><path
stroke-miterlimit="10"
d="m 83.559822,124.93865 c 0,2.807 -2.296,5.103 -5.103,5.103 h -9.795 c -2.807,0 -5.103,-2.296 -5.103,-5.103 v -9.795 c 0,-2.807 2.296,-5.103 5.103,-5.103 h 9.795 c 2.807,0 5.103,2.296 5.103,5.103 v 9.795 z"
id="path138"
inkscape:connector-curvature="0"
style="fill:none;stroke:#bc8d18;stroke-width:1.5;stroke-miterlimit:10" /><rect
x="69.887321"
y="115.60515"
stroke-miterlimit="10"
width="7.3439999"
height="8.8719997"
id="rect156"
style="fill:#d3a522;stroke:#a47817;stroke-width:1.5;stroke-linejoin:round;stroke-miterlimit:10" /><path
stroke-miterlimit="10"
d="m 92.056823,127.85354 c 0,4.47767 -4.246818,8.1402 -9.438808,8.1402 H 64.500617 c -5.191984,0 -9.438796,-3.66253 -9.438796,-8.1402 v -15.62478 c 0,-4.47766 4.246812,-8.1402 9.438796,-8.1402 h 18.117398 c 5.19199,0 9.438808,3.66254 9.438808,8.1402 v 15.62478 z"
id="path140-3"
inkscape:connector-curvature="0"
style="fill:none;stroke:#af511a;stroke-width:2.57656765;stroke-miterlimit:10" /></g></g></svg>

After

Width:  |  Height:  |  Size: 10 KiB

@ -71,7 +71,7 @@ void UBGraphicsGroupContainerItemDelegate::decorateMenu(QMenu *menu)
void UBGraphicsGroupContainerItemDelegate::buildButtons() void UBGraphicsGroupContainerItemDelegate::buildButtons()
{ {
if (!mDestroyGroupButton) { if (!mDestroyGroupButton) {
mDestroyGroupButton = new DelegateButton(":/images/minus.svg", mDelegated, mFrame, Qt::TopLeftSection); mDestroyGroupButton = new DelegateButton(":/images/ungroupItems.svg", mDelegated, mFrame, Qt::TopLeftSection);
mDestroyGroupButton->setShowProgressIndicator(false); mDestroyGroupButton->setShowProgressIndicator(false);
connect(mDestroyGroupButton, SIGNAL(clicked()), this, SLOT(destroyGroup())); connect(mDestroyGroupButton, SIGNAL(clicked()), this, SLOT(destroyGroup()));
mButtons << mDestroyGroupButton; mButtons << mDestroyGroupButton;

@ -477,7 +477,7 @@ QList<DelegateButton*> UBSelectionFrame::buttonsForFlags(UBGraphicsFlags fls) {
if (mEnclosedtems.count() >= 1) { if (mEnclosedtems.count() >= 1) {
if (!mGroupButton) { if (!mGroupButton) {
mGroupButton = new DelegateButton(":/images/plus.svg", this, 0, Qt::TopLeftSection); mGroupButton = new DelegateButton(":/images/groupItems.svg", this, 0, Qt::TopLeftSection);
mGroupButton->setShowProgressIndicator(false); mGroupButton->setShowProgressIndicator(false);
connect(mGroupButton, SIGNAL(clicked()), this, SLOT(groupItems())); connect(mGroupButton, SIGNAL(clicked()), this, SLOT(groupItems()));
} }

Loading…
Cancel
Save