Skip to content
Permalink
Browse files

Test for cross-platform SVG icon scaling

- Several PNG icons are switch out with SVG counterparts to test Qt scaling on different platforms
- Default theme has added SVG icons that are comprised of the regular PNG embedded within
- GIS theme has added mostly SVG 24x24 icons and one at 48x48 (also for touch interfaces)
- This commit's changes will probably be reverted after testing
  • Loading branch information
dakcarto committed Jul 31, 2012
1 parent c859799 commit 738c1f36fe9bdcbeebce36014ff913dc091705fb
@@ -118,6 +118,7 @@
<file>themes/default/mActionOptions.png</file>
<file>themes/default/mActionPan.png</file>
<file>themes/default/mActionPanToSelected.png</file>
<file>themes/default/mActionPanToSelected.svg</file>
<file>themes/default/mActionShowRasterCalculator.png</file>
<file>themes/default/mAction.png</file>
<file>themes/default/mActionProjectProperties.png</file>
@@ -131,6 +132,7 @@
<file>themes/default/mActionRemoveSelectedFeature.png</file>
<file>themes/default/mActionReshape.png</file>
<file>themes/default/mActionRotateLabel.png</file>
<file>themes/default/mActionRotateLabel.svg</file>
<file>themes/default/mActionRotatePointSymbols.png</file>
<file>themes/default/mActionSaveAsPDF.png</file>
<file>themes/default/mActionSaveAsSVG.png</file>
@@ -142,6 +144,7 @@
<file>themes/default/mActionSelectPan.png</file>
<file>themes/default/mActionSelect.png</file>
<file>themes/default/mActionSelectPolygon.png</file>
<file>themes/default/mActionSelectPolygon.svg</file>
<file>themes/default/mActionSelectRadius.png</file>
<file>themes/default/mActionSelectRectangle.png</file>
<file>themes/default/mActionShowAllLayers.png</file>
@@ -150,6 +153,7 @@
<file>themes/default/mActionShowPluginManager.png</file>
<file>themes/default/mActionSimplify.png</file>
<file>themes/default/mActionSplitFeatures.png</file>
<file>themes/default/mActionSplitFeatures.svg</file>
<file>themes/default/mActionTextAnnotation.png</file>
<file>themes/default/mActionToggleEditing.png</file>
<file>themes/default/mActionUndo.png</file>
@@ -319,12 +323,14 @@
<file>themes/gis/mActionOpenTable.png</file>
<file>themes/gis/mActionPan.png</file>
<file>themes/gis/mActionPanToSelected.png</file>
<file>themes/gis/mActionPanToSelected.svg</file>
<file>themes/gis/mActionShowRasterCalculator.png</file>
<file>themes/gis/mActionRaiseItems.png</file>
<file>themes/gis/mActionRedo.png</file>
<file>themes/gis/mActionRemoveLayer.png</file>
<file>themes/gis/mActionReshape.png</file>
<file>themes/gis/mActionRotateLabel.png</file>
<file>themes/gis/mActionRotateLabel.svg</file>
<file>themes/gis/mActionSaveAsPDF.png</file>
<file>themes/gis/mActionSaveAsSVG.png</file>
<file>themes/gis/mActionSaveEdits.png</file>
@@ -335,12 +341,14 @@
<file>themes/gis/mActionSelectPan.png</file>
<file>themes/gis/mActionSelect.png</file>
<file>themes/gis/mActionSelectPolygon.png</file>
<file>themes/gis/mActionSelectPolygon.svg</file>
<file>themes/gis/mActionSelectRadius.png</file>
<file>themes/gis/mActionSelectRectangle.png</file>
<file>themes/gis/mActionShowAllLayers.png</file>
<file>themes/gis/mActionShowBookmarks.png</file>
<file>themes/gis/mActionSimplify.png</file>
<file>themes/gis/mActionSplitFeatures.png</file>
<file>themes/gis/mActionSplitFeatures.svg</file>
<file>themes/gis/mActionTextAnnotation.png</file>
<file>themes/gis/mActionToggleEditing.png</file>
<file>themes/gis/mActionUndo.png</file>
@@ -0,0 +1,76 @@
<?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"
id="svg3805"
version="1.1"
inkscape:version="0.48.2 r9819"
width="24"
height="24"
sodipodi:docname="mActionPanToSelected.png">
<metadata
id="metadata3811">
<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="defs3809" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="480"
id="namedview3807"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg3805" />
<image
width="24"
height="24"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAxZJREFU
SImVVE1IFGEYfma+T3fXLKcwzRCkDh3E6rBiEC6blwkPYeBBYjWlMijCtfZg9kOZpXiIWroVUqJr
HUKDCHEglmX9oaE5GR6lOlTeNlrNdb+Z6eDO8rm77mzPaeZ73/d53u99nxkh+fOs90Ifef8goI9W
V2K9u59cfXBDD1VVYOPKHdI14GdTlfuRuHaPtLW2FC2W7UZybDLp6TlvBI6cmJ6ADYS2c62boaeM
2CUurTjQP3pQBIDhiz+Mw1WJoT017+7aCvz+2jK4y4VbhZDX1tUDAJa/fIZrbZVNTU4W2QmIJS6B
FUouSRIkSUJtXT3+OA8YHp+/0VagvZfcLpTcgiRJOHbcXUwImbETEZ8Ps5GdghMf9wnxdQOqqmJh
Ppw+X5gPQ1VV6LpeSinNuwe6NSIzZ3Ck+6eJVPDU9RrROo+vJRF+8v0+rZgeyEcO5BjR0ooDfS+q
BLvC9b8m5d+bOgOzuca1bUTWzD8tF2cJlJeZUBQFiqKgvMzE5X7ax8cZY3KunaRHxC9UVdWsjt/e
/27w7yaER5k5bre7VNO0GY/P3xwNBeeA1Id2s4cQ3i0L82HE15LpzjPJAWDtL4bO3DnUbRhGJQA4
HI4Nr9frjMVi0DQtrut6czQUnBNGX3Vcfh0pf3bsuLuYt6IFRVHwYejbwxKXwNp7ye3nw2ykxCWw
roB46ZtRXS3LclYNJ3KSvlT2LhKCTQDFWZkpWL+EN5NIu2ZiHAMenz+3/TgIpmnC4/M3EkJm3G53
qSRJiEQiG4lEwgkAoiiuRsafHMhV7O24/st2RKa51QQvoqoqoqGgrVV5eHx+s6GhYRt5+gZcUiMh
ZEbX9dJMAb7bXLfy+PwmIWQbOQCIfFI0FJzTdb2ZUqpkdmgYRqUsy5BlGZYQD0qpkkkOADQzMZVw
Ov9AshEee5yzJkuAR1NnYJYxJgNbSwTgtJ4tB1FKlZ3IbQUYY4OEkJMpdzmtc94tjLHBfBxivqC1
E03T4rFYLH2eacV8HNtctBN4CwMomLxgAV4EAAol/y+BlMhRAIiGgkuF1vwD9omoQbaDP3wAAAAA
SUVORK5CYII=
"
id="image3813"
x="0"
y="0" />
</svg>
@@ -0,0 +1,85 @@
<?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"
id="svg3713"
version="1.1"
inkscape:version="0.48.2 r9819"
width="22"
height="22"
sodipodi:docname="mActionRotateLabel.png">
<metadata
id="metadata3719">
<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="defs3717" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1026"
inkscape:window-height="854"
id="namedview3715"
showgrid="false"
inkscape:zoom="10.727273"
inkscape:cx="11"
inkscape:cy="11"
inkscape:window-x="490"
inkscape:window-y="204"
inkscape:window-maximized="0"
inkscape:current-layer="svg3713" />
<image
width="22"
height="22"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABHNCSVQICAgIfAhkiAAABQ9JREFU
OI2llGlsVFUYhp9z7+ydaWfo4rSUrSJILVQgtQiUEBEQFyoGAYEgiWGRWKPxhzEmakCicSPRoERC
QFREEBciO5LKEhaJLdCylUppS1fb6Uxnu3fm3uOPFgQRE/X9/Z0n33nfNx/8f1mA+cB+oAn4EFDF
7abV6Q2qVTGG35lje8JhE0MC3Xq4pSN6Xtcix6URP27sHa/3jn4EuIG9QCuwEjhxC1gtbU5dMMm1
tSTffp+B4m4JKpbGToX6DqhrSxKJxo1woOmcHu/+Irxr8o/oXWXAa0BbL2ISsOom8NiXOxcvmepa
mZdtyzhyAY7WQHtI4rAJbBaIJiCiQdKApB7DbNplOM68dLGi+srEG8CvAAOvgx9d0bVq+TzP8zsr
hLL2gEkkFDjnsmm1OdEd+Q8M7cqLq34M72g0590ENYWmAOhJ+P3Ml3J0+1J988HIXb2WrAPKVIDB
S9pHvDHXs2bzUdW2sVyLBzuat4aulD86vnH8zC2zd46Zln2AyXl1FMm1NASduHz9SEt1oyXAnlUg
Tl91WhINe+cmDe4AvgL2qWppo/piqedoQtoz1+zVjWBH4/uRbXeWlfq/3b5hmfJwmsdOw9BvSCl+
D8+wBRSHyqi62ILdX4zL5SAUFzj79Ccn/pO1vrF1LvAzgFI4yLpsXL5zwLpyCAfbjkb3T3995hix
/7NlytRUjwtlwnY8edOQ0kTY01Em7uG5gh2YzfvJ9kFGKmT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 @@
<?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"
id="svg3888"
version="1.1"
inkscape:version="0.48.2 r9819"
width="32"
height="32"
sodipodi:docname="mActionSelectPolygon.png">
<metadata
id="metadata3894">
<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="defs3892" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="480"
id="namedview3890"
showgrid="false"
inkscape:zoom="7.375"
inkscape:cx="16"
inkscape:cy="16"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg3888" />
<image
width="32"
height="32"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAABzlJREFU
WIW9lnlQlOcZwH/ffhzLCt8iKqdAqcdoZRoCJk5mnBSJGI0HU+3YYTU11IrEGKuJcSg4aI1jrUoO
tYPG5rBqNGpTj9QgaWhaUhGPKA6ieHCGIh7IovgtC+zTP5YlS10BJ50+M8/M977vc/ze5z2+VxER
HldsmOOAnwI/AKKBCKACKO7SEiPW1v7EUh4HwI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HumghXXBKf/wmTJigLFiw4HZRUZGIiNjtdklP
T5f8/HybiMT2G+D7aEZGxpjU1NTO8vJySU9Pl61bt4rdbn8gIhn/FwARYenSpZtSUlIcRUVFDhG5
JyLzH2sJ/hfqcDhWi0i5iIxy7/8PNx954hiFXiYAAAAASUVORK5CYII=
"
id="image3896"
x="0"
y="0" />
</svg>

0 comments on commit 738c1f3

Please sign in to comment.
You can’t perform that action at this time.