[QGIS Commit] r15460 - in trunk/qgis: images images/themes/default
images/themes/gis python/core src/app src/app/legend
src/core/raster src/ui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Mar 13 07:51:40 EDT 2011
Author: timlinux
Date: 2011-03-13 04:51:40 -0700 (Sun, 13 Mar 2011)
New Revision: 15460
Added:
trunk/qgis/images/themes/default/mActionFullHistogramStretch.svg
trunk/qgis/images/themes/default/mActionZoomActual.png
trunk/qgis/images/themes/gis/mActionZoomActual.png
trunk/qgis/images/themes/gis/mActionZoomActual.svg
Modified:
trunk/qgis/images/images.qrc
trunk/qgis/images/themes/default/mActionFullHistogramStretch.png
trunk/qgis/python/core/qgsrasterlayer.sip
trunk/qgis/src/app/legend/qgslegend.cpp
trunk/qgis/src/app/qgisapp.cpp
trunk/qgis/src/app/qgisapp.h
trunk/qgis/src/core/raster/qgsrasterlayer.cpp
trunk/qgis/src/core/raster/qgsrasterlayer.h
trunk/qgis/src/ui/qgisapp.ui
Log:
Added zoom 1:1 to zoom bar, icon updates from robert. Disallow hist stretch for wms layers
Modified: trunk/qgis/images/images.qrc
===================================================================
--- trunk/qgis/images/images.qrc 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/images/images.qrc 2011-03-13 11:51:40 UTC (rev 15460)
@@ -144,6 +144,7 @@
<file>themes/default/mActionUndo.png</file>
<file>themes/default/mActionUngroupItems.png</file>
<file>themes/default/mActionUnselectAttributes.png</file>
+ <file>themes/default/mActionZoomActual.png</file>
<file>themes/default/mActionZoomFullExtent.png</file>
<file>themes/default/mActionZoomIn.png</file>
<file>themes/default/mActionZoomLast.png</file>
@@ -309,6 +310,7 @@
<file>themes/gis/mActionUndo.png</file>
<file>themes/gis/mActionUngroupItems.png</file>
<file>themes/gis/mActionUnselectAttributes.png</file>
+ <file>themes/gis/mActionZoomActual.png</file>
<file>themes/gis/mActionZoomFullExtent.png</file>
<file>themes/gis/mActionZoomIn.png</file>
<file>themes/gis/mActionZoomLast.png</file>
Modified: trunk/qgis/images/themes/default/mActionFullHistogramStretch.png
===================================================================
--- trunk/qgis/images/themes/default/mActionFullHistogramStretch.png 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/images/themes/default/mActionFullHistogramStretch.png 2011-03-13 11:51:40 UTC (rev 15460)
@@ -1,14 +1,20 @@
PNG
-IHDR àw=ø sRGB ®Îé bKGD ÿ ÿ ÿ ½§ pHYs
+IHDR àw=ø sBIT|d pHYs
×
-×B(x tIMEÛ#3/kà 6IDATHǵËUÆ¿so=ºº*UÕ]StMFNp`Ú 27ñµ04:ã&"¸hpÑ`"´ H.Yw
-êÆ? \8!2Muß[ÇŤ'ÝÎLÒ8\¸ðýÎùν·kFgQmÚ¾ç?ÐOÿÞøì»·ß;{_>9¥µâwkÓ?, at t^&Ú·ýÐöw¼U+
-=òók³
:{>ÏçëO»=¾!ªÈrñq:ºçá8}oò\8±HÑsÏî|×=>09ݸùNÉ|¾ùÙÜÉjÓ~LJ ¦i>Q¯×½ Ê Í-(N@ñÒÓG×{Nð%$ J¥¬ãÏ @*NÐæ($ý<âpdI[ 0<<8®³À îwåÎ'÷Ç)µ|fF!. at Hã
_¿úWå®ðí%uABH5CB
-ß?{ §Ï~Ê z*_²[0-Sh¡µF.3Nøxëjw4{ÿg03 ¬q pê̽ù>.\s
-FÌ)tÂhý8];ö`03.^ºøGíØÔæfpêÌÌÝ\ÒÏ -ÕèÌ@k
-ß÷F£Q^©òwÞ¦îSÔ¾ßú÷½N tZ«;©1¼~$¶óàJÞ/?¦iF¿nCÑÕBåHtäaîoZÒìÐZèµHJ mõzÝzP@ MY.ÞæÛPZY¤µF̹âåæ9iµ$Ú
-R
-à^´Ö(äiȨ:xÖÙµ*À²ÍmM}ON´z,JS
-ÏsO+vÖr/¼r.ûújíÍúV¯0·ÁHa̱ΠïG×÷PÃSÞD×ÍLÌzßT¶} Ú´·IEHµ$ÚsiæcxÛ·ºBT@öfcÆa¹R:`eÌ+³Þù_eTö& ÃçýãåGG6w½ûÛÝ7¦÷pæ®þßWÿlÿòëüÜBqþÚÂÐÍë·¥ô·´Ö¿-ÿý×Z½Ûd IEND®B`
\ No newline at end of file
+×B(x tEXtSoftware www.inkscape.orgî< tEXtTitle histogram equalizationÖsß tEXtAuthor Robert Szczepanek_V± tEXtCreation Time 2011-02-19«®Ê RtEXtCopyright CC Attribution-ShareAlike http://creativecommons.org/licenses/by-sa/3.0/^Z¼ õIDATHµkhTGÇÿ3÷Þ½½Ù»oÕtMhb}US´ÕRlR´¨1/m}|°â ²ô-miV!ÕÄ
+i|Ò~êKZZµFc¢Ô$Ùìƽ»wîôYhðÀ0ÃøÿÎ9sÂ9dz41³(¯]ºêþ=èûüÔzóFÆ÷å¾½[³øæMÛ¾ø¿ Yè±õ+g¼={ݦ¿ð\UcpWÆGÀ+¼^odÏ'{^3@åéy¾!ýYSºÓ0ÆoYÑà^þ@}s_g¸ÎcpnçNo&d¬xuÏ¥yö×É*nÃ
+I¦F"}L ¢ §`qr,³f®û ¡PHSUéå1 XÜÄ¥ó¸|î6,p»¼¸s8a ÈÉÉ5T§º`4¡µë×l®®Üð ´þÚkgû½ÅMXÜļi6I¹8ç 8ÔH©0[×õHumå¶QöõçöÅ$æÌ-
+öàÔ
+1¢
+ý0áÇ£´lþ}ǽ½ªfÕÎÌ® Õµ;ü9Óݪâþ@ñ$Ú[ïA "¦©ÐØ@,CVdyãûÞëÞ f¦i~UÓXumÕ`ýíU5«ÃMÊê]¯ç5ïde
+Mñ$®_»¨Ãm¤»
+ÌZEQpù¯ËV{Ç£ª¦uqÎ}sçÜMÉ*yi)¢'HøhâñE˲v/Z´PPUÅæà ç$añ$.ȲJB¡0ùÅÅE¿ èàà6ÃétÚ¿¥7~sx·`Ù±c'ê+j¾lL3
ÖÖVÉ9¨hCZÈËÃ!IÇp«ãÖó7;
+9çÛ¶Ý6³
+B©«´t>S5=Ý=·ÍG ª?[/]=|jÿ7:N*ÓDb Wn_6¹ÜEZîÝíC8T2t´]Ý]W¯\û¨íû;ÿÜù««ëL,1abÈJ§ÕC
+NÓ4kZN `Îþñ¼i±Ó§5Ϭ!*zÎm¤ãªJ UUQ8©Ðk©)_mÙ÷i¦[Ömxocoo¯|âøI-L®nnj91¼M
+=ÿ[ÖþѦKR
+ÆØаàóy ÊÇúüüÓ¬x<±6#>àdLJc\Ù=hùñG Æ, `\HMD"cìx"1¸º¹©å»áÔÌ{`U,nBhe`Ãæ 888çøÒߤ¾Ø½ êj~òò
+e@)õqXÜD'ÿ+7aYÀG1 'øÅKª¯&<à¥)¢LF
+gJd8ÇÙ6®;áµdÍá<¶¬A{÷© eË1R§ÁaCf#KusÃßoBÂã0S_îó²>[Þ¨7×Éòò:ù9*lÖ#ÑáF¢èºsÔè¾ ´þoºÃ¡%Ej[ѨYòµRY^'O Rqĵ#\çöé½£8/¾>aÂx{4 ÒÓ>è£íééçöIJ£wcþþÞaY¬
<ëoË¿xÀAÇ#¢'b IEND®B`
\ No newline at end of file
Added: trunk/qgis/images/themes/default/mActionFullHistogramStretch.svg
===================================================================
--- trunk/qgis/images/themes/default/mActionFullHistogramStretch.svg (rev 0)
+++ trunk/qgis/images/themes/default/mActionFullHistogramStretch.svg 2011-03-13 11:51:40 UTC (rev 15460)
@@ -0,0 +1,377 @@
+<?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="24"
+ height="24"
+ id="svg5692"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="histogram-equalize-max.svg"
+ inkscape:export-filename="/media/home1/robert/svn/graphics/trunk/toolbar-icons/24x24/histogram-equalize-max.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"
+ style="display:inline">
+ <title
+ id="title2835">histogram equalization</title>
+ <defs
+ id="defs5694">
+ <linearGradient
+ id="linearGradient7624">
+ <stop
+ style="stop-color:#555753;stop-opacity:1;"
+ offset="0"
+ id="stop7626" />
+ <stop
+ id="stop7634"
+ offset="0.40000001"
+ style="stop-color:#555753;stop-opacity:0.39215687;" />
+ <stop
+ style="stop-color:#555753;stop-opacity:0;"
+ offset="0.5"
+ id="stop7640" />
+ <stop
+ id="stop7632"
+ offset="0.60000002"
+ style="stop-color:#555753;stop-opacity:0.39215687;" />
+ <stop
+ style="stop-color:#555753;stop-opacity:1;"
+ offset="1"
+ id="stop7628" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient7614">
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1;"
+ offset="0"
+ id="stop7616" />
+ <stop
+ id="stop7636"
+ offset="0.40000001"
+ style="stop-color:#d3d7cf;stop-opacity:0.38666666;" />
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:0;"
+ offset="0.5"
+ id="stop7638" />
+ <stop
+ id="stop7622"
+ offset="0.60000002"
+ style="stop-color:#d3d7cf;stop-opacity:0.39215687;" />
+ <stop
+ style="stop-color:#d3d7cf;stop-opacity:1;"
+ offset="1"
+ id="stop7618" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2843">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop2845" />
+ <stop
+ style="stop-color:#c8c8c2;stop-opacity:1;"
+ offset="1"
+ id="stop2847" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2835">
+ <stop
+ style="stop-color:#ccf2a6;stop-opacity:1;"
+ offset="0"
+ id="stop2837" />
+ <stop
+ style="stop-color:#8ae234;stop-opacity:1;"
+ offset="1"
+ id="stop2839" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 16 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="32 : 16 : 1"
+ inkscape:persp3d-origin="16 : 10.666667 : 1"
+ id="perspective3257" />
+ <inkscape:perspective
+ id="perspective6979"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective7934"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8023"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8057"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8095"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8219"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8279"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3803"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3869"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3929"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3968"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4002"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4032"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4053"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2905"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2979"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2842"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2978"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2835"
+ id="linearGradient2841"
+ x1="3.6536312"
+ y1="12.927374"
+ x2="8.5"
+ y2="27.5"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2843"
+ id="linearGradient2849"
+ x1="9.5865917"
+ y1="15.5419"
+ x2="12.5"
+ y2="27.5"
+ gradientUnits="userSpaceOnUse" />
+ <inkscape:perspective
+ id="perspective6803"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient7614"
+ id="linearGradient7620"
+ x1="1.5"
+ y1="-5.5"
+ x2="22.5"
+ y2="-5.5"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(0,8)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient7624"
+ id="linearGradient7630"
+ x1="1.5"
+ y1="-6.5"
+ x2="22.5"
+ y2="-5.5"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(0,8)" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="29.833333"
+ inkscape:cx="12"
+ inkscape:cy="12"
+ inkscape:current-layer="layer4"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ borderlayer="false"
+ inkscape:window-width="1280"
+ inkscape:window-height="950"
+ inkscape:window-x="0"
+ inkscape:window-y="25"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:snap-bbox="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid5700"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true"
+ dotted="true"
+ originx="2.5px"
+ originy="2.5px" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata5697">
+ <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>histogram equalization</dc:title>
+ <dc:date>2011-02-19</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Robert Szczepanek</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:rights>
+ <cc:Agent>
+ <dc:title>Robert Szczepanek</dc:title>
+ </cc:Agent>
+ </dc:rights>
+ <dc:subject>
+ <rdf:Bag>
+ <rdf:li>icon</rdf:li>
+ <rdf:li>gis</rdf:li>
+ </rdf:Bag>
+ </dc:subject>
+ <dc:coverage>GIS icons 0.2</dc:coverage>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:groupmode="layer"
+ id="layer4"
+ inkscape:label="1"
+ style="display:inline"
+ transform="translate(0,-8)">
+ <path
+ sodipodi:nodetypes="css"
+ id="path3640"
+ d="m 0.5,30.5 c 3,0 1,-21 3,-21 7,0 8,21 20,21"
+ style="fill:url(#linearGradient2841);stroke:#4e9a06;stroke-width:0.75000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1" />
+ <path
+ style="fill:url(#linearGradient2849);stroke:#888a85;stroke-width:0.75000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1"
+ d="m 8.5,30.5 c 1.304348,0 0.434784,-21 1.304348,-21 3.043478,0 3.47826,21 8.695652,21"
+ id="path3648"
+ sodipodi:nodetypes="css" />
+ <path
+ style="fill:url(#linearGradient7620);fill-opacity:1.0;fill-rule:evenodd;stroke:url(#linearGradient7630);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
+ d="m 5.25,14.46875 -4.9375,4.9375 4.9375,4.96875 0,-3.53125 9.25,0 4.25,0 0,3.53125 4.9375,-4.96875 -4.9375,-4.9375 0,3.53125 -4.25,0 -5,0 -4.25,0 0,-3.53125 z"
+ id="path2852"
+ sodipodi:nodetypes="cccccccccccccc" />
+ </g>
+</svg>
Added: trunk/qgis/images/themes/default/mActionZoomActual.png
===================================================================
--- trunk/qgis/images/themes/default/mActionZoomActual.png (rev 0)
+++ trunk/qgis/images/themes/default/mActionZoomActual.png 2011-03-13 11:51:40 UTC (rev 15460)
@@ -0,0 +1,15 @@
+PNG
+
+
+IHDR szzô sRGB ®Îé bKGD ÿ ÿ ÿ ½§ pHYs @ @Oå tIMEÛ
+
+ À§~ "IDATXÃ{PT×Ç¿çÜ»»eY@@EMT,Ti'Î' ¡iiãLiSëLªQC;ÓINlé$¡¶ >Úã¨Ø e:¡&¢TÚ+ >÷k÷Þ½÷Ó?xqø9óÛó»çîùü¾ç÷»w`+((Ó8Í!-õVÍfH;5äå.uâY(¸qSA
Ù,í3ÍQ$)5.OIGÐçÁ@ïMövs¿oÇÆÆt)ßîá X¤¢T¼å¦â'Êo@¬ÍC 1øÁ÷§7p¦özÇôØèWêëÿö
rsc-Vz2!ÙôôÎhQÞZd$D B¦óY?a̧CUU´C[kÖ=¼¶©úÍ׺T aæCjFê/'¦ä~ÿÀaZöUH¶@g!CÕÙ×|b1Q±f].(¥ho{UÕK|çÎûh) òó7Ì=ùÝ´0{9$BÑ(!yñ0âQ¡h %(Á£eÛÖ}ð.$, ´´Ô"Z,
+¿¶Í¼)g=¢"Ý3F}ª:½éÜa|ë{?{ _øÏê%ø|J6¥tYAé×¼Ì%Äf³ñ^Y2f7gýÒÒ3°æ\®mkkÛ6 §<;2ÊN (AyP5 «Æ¼¬q×|(-#}î~NÙ6 ²Ó2iE¸'{Y¡l<*ó¡0>1A&'½¹áÕº~
#fq*{ͪxmºå((! d2Ïß¹¾##Ã9a+ EH>¿gñ»²×t¶¨äżã 8bccbhX
+d¥ÃÝ{«@gL#ÐtÀ$л²ïÝîé$I*++carEQ$I0o<#ÿB±Þn$'¯àgØG @ÿ1u¹®|N-Vùí ]SárvÀ ¸Âhoou¤¤ü÷ô_B úÃ:ë
FCí_PRRL9çÎ%=#,¦snè§Þy ¯åæί|
+Mï6¢tk ëw»]µµµ®%¿
+wïÙóìUWçÁ'+AÅoB
9woËÍøî7ðï :Ê
+UVÀÁ!
+¢²:f¼ë@óyòl¯÷¾
+ @õoÔn-.¾Ø|þ4~ùóýtÏ9ï{ÕàÌÀɺwpàŽ,ÇƼ¨ªªB~~¾t¥Ï´AÑÄZ^ãþ\"÷¦TR³pNÂÖ¡M½þ~_hKÉWµ
+YYYX Ïä8¯4KG\oÈ~¢ël¥;ã>+ÊÛlWÃf³áØÑ×ðZIýBÆsdWgÁ6µÖH`øzu1mKÚKñ¤½×oܼôáû4A)ç~L&ÖbÓ%&I1褪jã6# õ½V´_¾cuO&þ¨ÏdZ¼ý'xcçBât!p1êq@<ÞYçlªhx´¤xË·9ç¹£££9ö({&->~ØõºaðÊTéõxÉÕ®¢§§/¶cß~+âã? èS0mk þ3OgÙ0¸ ±ïK}F{¶bÏ'º!cïwý×à#øÌâÜ?åìj~!¦Oëÿ³=[^äø»4ÂTµxå`
+-à&ÄKÌk 7ÁsºEo:».åÇCaa¡³×ëÎÛG¾3Ì÷{Q®CS É cù÷ LGty=0%dANÌ-L`EæS*¬??ÆAÇdÐi:<ýæ@CÜöÔ#ÆgNêw Äû}¹ëy' ¢Å¥/ÍpüÝ_3Å Û¢ÀM¸¾è¾]×Ebe½ÐWW©©ã'xcçQ`ÆZ»ó#^ýÐÛÿðð³ïMÉÆ)EúÁ.~HÙöª0¡ðÌ~?;t_æa8jüû¦Öøå#ÿôÿ1íùVÕ xÝà-;@¬1ðʲÁG¨3vùSíÜϨz³ÅÇOµÏ©YxÆq½£=õjD à ÑLë¸ÁA0+8YôÿõjgN1ß7{_fäV ³7fÌ줺²zÒ%©.ý·)5jµÅd78Q]øÌÛ0M¯¡&ÑXâ[;³*Áß6y_öDV9ïÔI½Øà{ëý;~кL¨Xn§ûìÂÇ63?ÞèT?¹öd4Â&_ IEND®B`
\ No newline at end of file
Added: trunk/qgis/images/themes/gis/mActionZoomActual.png
===================================================================
--- trunk/qgis/images/themes/gis/mActionZoomActual.png (rev 0)
+++ trunk/qgis/images/themes/gis/mActionZoomActual.png 2011-03-13 11:51:40 UTC (rev 15460)
@@ -0,0 +1,11 @@
+PNG
+
+
+IHDR àw=ø sBIT|d pHYs
+×
+×B(x tEXtSoftware www.inkscape.orgî< tEXtTitle zoom 1 to 1B!Ç tEXtAuthor Robert Szczepanek_V± tEXtCreation Time 2011-03-11Éa RtEXtCopyright CC Attribution-ShareAlike http://creativecommons.org/licenses/by-sa/3.0/^Z¼ ÚIDATHµOHwÇ¿ãÌÎìªíj£ucSÁ,õPiÒ¸$EËj¡hBK-xÈ¥½y(´´ÒTØBnT¨±ÐcÁ4h ®ZÍFN«ÆY'ýÍþf~½¸Ô¦ëvÓÚ¿9Ìï½ÏãûÞ7cÿ§ ù:B!RÚ&IRÇq~B,IÊ!L
+0Å̧ã¸|Á£ ôÖÕÕ8yêTy}}½»°°kkkÚÜì¬177g,--%)¥=³Ï ««ë<Ïóïtww»N47ËÃáÞ}ÜÚºgYV:#e}ÕßßÿM^ ÁàQI®D"W
,KNg) ضm¦©©TÒ²,ñ×uHÄ \È()Ø
+
DAzÃá°Ëãñ83ð´iêÛ0?þ}7 ] ôB!1gJiÏç+illÄúæfùͱ1E©¡ooÿjÛ¶-æÛÑe¢Ïç+¡¶9¦H¤¦ç<Ï'~vðÇÉ©2¹â }2x ·o»c7]zïbâ
ÚÚÔ_÷UÍÌκkª«ü~¿see¥ Àð
+8ó¿züø?X×4Ç!S¦ãî»î¥å_\ ðî[o>8\Scdb½^/8óçT@eY/Ì;Û¶íðõÓ§7j{I¶XYA=$IUUÒ4 ýùL&·ù !\¶XUU!IScl&HTR ÐI2ͧ(ÚÑk×'is¥µu1ä¶. ÀúƦCÛÚclæJ49qëÖåUOÇÙö p½ â\Wçoo¼vf1Ç%`àÆ`EuuUª£ºýáj"á|°v_ L9>´9þ¾½½½¬¥¥ÅÈêÅâñ8úúúTÛ¶;b±¹g,ËzÛ0æú©©©â|ຮ#ÒÌâËZ"EQΧÓéÏ'&&2M¬ëìì\È¥d÷.Ú½ðþ@Q@é×M3wO722²1??Ï544¸¼^/dYªªH$È{*x¾ªlüò
´{#¸|UI9&âû<Ï_ý7ÿ!\fcxÖáp=a\ÁÅ¡¡¡ÌúÞ9y
+>¿¼
¯ËºIZxàÓÆOOO<%®ñ.½üx*ýßá 8E+zöµ¢JÃÝUº¯p à¼Øpgþ¾3$
+Düb´|_áÀÎ)pV4eòÝû ? $µDµ> IEND®B`
\ No newline at end of file
Added: trunk/qgis/images/themes/gis/mActionZoomActual.svg
===================================================================
--- trunk/qgis/images/themes/gis/mActionZoomActual.svg (rev 0)
+++ trunk/qgis/images/themes/gis/mActionZoomActual.svg 2011-03-13 11:51:40 UTC (rev 15460)
@@ -0,0 +1,539 @@
+<?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="24"
+ height="24"
+ id="svg5692"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="zoom-1to1.svg"
+ inkscape:export-filename="/media/home1/robert/svn/graphics/trunk/toolbar-icons/24x24/zoom-1to1.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"
+ style="display:inline">
+ <title
+ id="title2901">zoom 1 to 1</title>
+ <defs
+ id="defs5694">
+ <linearGradient
+ id="linearGradient3657">
+ <stop
+ style="stop-color:#fce94f;stop-opacity:1;"
+ offset="0"
+ id="stop3659" />
+ <stop
+ style="stop-color:#e7ce04;stop-opacity:1;"
+ offset="1"
+ id="stop3661" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2877">
+ <stop
+ style="stop-color:#edd400;stop-opacity:1;"
+ offset="0"
+ id="stop2879" />
+ <stop
+ style="stop-color:#c2ad00;stop-opacity:1;"
+ offset="1"
+ id="stop2881" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4042">
+ <stop
+ style="stop-color:#f2d6a9;stop-opacity:1;"
+ offset="0"
+ id="stop4044" />
+ <stop
+ style="stop-color:#e9b96e;stop-opacity:1;"
+ offset="1"
+ id="stop4046" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2843">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1;"
+ offset="0"
+ id="stop2845" />
+ <stop
+ style="stop-color:#c8c8c2;stop-opacity:1;"
+ offset="1"
+ id="stop2847" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2835">
+ <stop
+ style="stop-color:#ccf2a6;stop-opacity:1;"
+ offset="0"
+ id="stop2837" />
+ <stop
+ style="stop-color:#8ae234;stop-opacity:1;"
+ offset="1"
+ id="stop2839" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 16 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="32 : 16 : 1"
+ inkscape:persp3d-origin="16 : 10.666667 : 1"
+ id="perspective3257" />
+ <inkscape:perspective
+ id="perspective6979"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective7934"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8023"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8057"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8095"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8219"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective8279"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3803"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3869"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3929"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3968"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4002"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4032"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4053"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2905"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2979"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2842"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective2978"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3238"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4048"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ gradientUnits="userSpaceOnUse" />
+ <inkscape:perspective
+ id="perspective4058"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042-2"
+ id="radialGradient4048-2"
+ cx="8.5770311"
+ cy="3.8663561"
+ fx="8.5770311"
+ fy="3.8663561"
+ r="6.1587391"
+ gradientTransform="matrix(0.81185454,1.1365964,-1.1707271,0.83623306,20.063146,-1.4817979)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ id="linearGradient4042-2">
+ <stop
+ style="stop-color:#f2d6a9;stop-opacity:1;"
+ offset="0"
+ id="stop4044-8" />
+ <stop
+ style="stop-color:#e9b96e;stop-opacity:1;"
+ offset="1"
+ id="stop4046-4" />
+ </linearGradient>
+ <radialGradient
+ r="6.1587391"
+ fy="17.838446"
+ fx="0.5"
+ cy="17.838446"
+ cx="0.5"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-8.4170292)"
+ gradientUnits="userSpaceOnUse"
+ id="radialGradient4067"
+ xlink:href="#linearGradient4042-2"
+ inkscape:collect="always" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042-2"
+ id="radialGradient4094"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.81185454,1.1365964,-1.1707271,0.83623306,20.063146,-1.4817979)"
+ cx="8.5770311"
+ cy="3.8663561"
+ fx="8.5770311"
+ fy="3.8663561"
+ r="6.1587391" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042-2"
+ id="radialGradient4097"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.81185454,1.1365964,-1.1707271,0.83623306,20.063146,-1.4817979)"
+ cx="8.5770311"
+ cy="3.8663561"
+ fx="8.5770311"
+ fy="3.8663561"
+ r="6.1587391" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042-2"
+ id="radialGradient4100"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.81185454,1.1365964,-1.1707271,0.83623306,20.063146,-1.4817979)"
+ cx="8.5770311"
+ cy="3.8663561"
+ fx="8.5770311"
+ fy="3.8663561"
+ r="6.1587391" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042-2"
+ id="radialGradient4103"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.81185454,1.1365964,-1.1707271,0.83623306,20.063146,-1.4817979)"
+ cx="8.5770311"
+ cy="3.8663561"
+ fx="8.5770311"
+ fy="3.8663561"
+ r="6.1587391" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4106"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4109"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4112"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4115"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4042"
+ id="radialGradient4118"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.8118545,0.97422537,-1.1052481,0.9210397,19.809981,-0.4170292)"
+ cx="0.5"
+ cy="17.838446"
+ fx="0.5"
+ fy="17.838446"
+ r="6.158739" />
+ <inkscape:perspective
+ id="perspective8198"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3657"
+ id="linearGradient3663"
+ x1="10.5"
+ y1="10.5"
+ x2="13.5"
+ y2="18.5"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3657"
+ id="linearGradient3669"
+ gradientUnits="userSpaceOnUse"
+ x1="10.5"
+ y1="10.5"
+ x2="13.5"
+ y2="18.5"
+ gradientTransform="translate(0,-3)" />
+ <inkscape:perspective
+ id="perspective4821"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="29.833333"
+ inkscape:cx="12"
+ inkscape:cy="12"
+ inkscape:current-layer="layer4"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ borderlayer="false"
+ inkscape:window-width="1280"
+ inkscape:window-height="950"
+ inkscape:window-x="0"
+ inkscape:window-y="25"
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:snap-bbox="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid5700"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true"
+ dotted="true"
+ originx="2.5px"
+ originy="2.5px" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata5697">
+ <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>zoom 1 to 1</dc:title>
+ <dc:date>2011-03-11</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Robert Szczepanek</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:rights>
+ <cc:Agent>
+ <dc:title>Robert Szczepanek</dc:title>
+ </cc:Agent>
+ </dc:rights>
+ <dc:subject>
+ <rdf:Bag>
+ <rdf:li>icon</rdf:li>
+ <rdf:li>gis</rdf:li>
+ </rdf:Bag>
+ </dc:subject>
+ <dc:coverage>GIS icons 0.2</dc:coverage>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:groupmode="layer"
+ id="layer4"
+ inkscape:label="1"
+ style="display:inline"
+ transform="translate(0,-8)">
+ <g
+ transform="translate(0,8)"
+ style="display:inline;enable-background:new"
+ id="g4806">
+ <path
+ style="fill:#ffcc30;fill-opacity:1;fill-rule:evenodd;stroke:#505050;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 7.5000001,14.5 c 0,2 2,2 2,2 0,0 -7,7 -7,7 l -2.00000001,-2 7.00000001,-7 z"
+ id="path3832"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ sodipodi:type="arc"
+ style="opacity:0.8;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:#505050;stroke-width:0.75218332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:7"
+ id="path3834"
+ sodipodi:cx="12"
+ sodipodi:cy="7"
+ sodipodi:rx="5.9612203"
+ sodipodi:ry="6.0742435"
+ d="m 17.96122,7 c 0,3.354712 -2.668929,6.074244 -5.96122,6.074244 C 8.707709,13.074244 6.0387797,10.354712 6.0387797,7 6.0387797,3.6452879 8.707709,0.92575645 12,0.92575645 c 3.292291,0 5.96122,2.71953145 5.96122,6.07424355 z"
+ transform="matrix(1.3420071,0,0,1.3170365,-1.6040853,0.2791092)" />
+ <path
+ style="fill:#000000;fill-rule:evenodd;stroke:#505050;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 6.0000001,16 2,-2 L 10,16 l -1.9999999,2 -2,-2 z"
+ id="path3836"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ style="opacity:0.7;fill:#fcffff;fill-rule:evenodd;stroke:none;display:inline"
+ d="m 10,5 c 2,-3 4.442248,-3.398055 6,-2 1.557752,1.398055 -2,1 -4,3 -2,2 0,6 -2,6 -1.9999999,0 -1.9999999,-4 0,-7 z"
+ id="path3838"
+ sodipodi:nodetypes="czzzz" />
+ <path
+ style="opacity:0.5;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#fcffff;stroke-width:1;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 2.0000001,21 4,-4"
+ id="path2832" />
+ </g>
+ <text
+ xml:space="preserve"
+ style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#2e3436;fill-opacity:1;stroke:none;font-family:Georgia;-inkscape-font-specification:Georgia Bold"
+ x="6.9873047"
+ y="20.445801"
+ id="text4850"
+ sodipodi:linespacing="100%"><tspan
+ sodipodi:role="line"
+ id="tspan4852"
+ x="6.9873047"
+ y="20.445801">1:1</tspan></text>
+ </g>
+</svg>
Modified: trunk/qgis/python/core/qgsrasterlayer.sip
===================================================================
--- trunk/qgis/python/core/qgsrasterlayer.sip 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/python/core/qgsrasterlayer.sip 2011-03-13 11:51:40 UTC (rev 15460)
@@ -376,7 +376,7 @@
QPixmap paletteAsPixmap( int theBand = 1 );
/** \brief [ data provider interface ] Which provider is being used for this Raster Layer? */
- QString providerKey();
+ QString providerKey() const;
/** \brief Returns the number of raster units per each raster pixel. In a world file, this is normally the first row (without the sign) */
double rasterUnitsPerPixel();
Modified: trunk/qgis/src/app/legend/qgslegend.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegend.cpp 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/app/legend/qgslegend.cpp 2011-03-13 11:51:40 UTC (rev 15460)
@@ -1792,10 +1792,10 @@
QgsDebugMsg( "Raster units per pixel : " + QString::number( layer->rasterUnitsPerPixel() ) );
QgsDebugMsg( "MapUnitsPerPixel before : " + QString::number( mMapCanvas->mapUnitsPerPixel() ) );
- mMapCanvas->zoomByFactor( qAbs( layer->rasterUnitsPerPixel() / mMapCanvas->mapUnitsPerPixel() ) );
- mMapCanvas->refresh();
-
- QgsDebugMsg( "MapUnitsPerPixel after : " + QString::number( mMapCanvas->mapUnitsPerPixel() ) );
+ layer->setCacheImage( NULL );
+ mMapCanvas->zoomByFactor( qAbs( layer->rasterUnitsPerPixel() / mMapCanvas->mapUnitsPerPixel() ) );
+ mMapCanvas->refresh();
+ QgsDebugMsg( "MapUnitsPerPixel after : " + QString::number( mMapCanvas->mapUnitsPerPixel() ) );
}
}
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/app/qgisapp.cpp 2011-03-13 11:51:40 UTC (rev 15460)
@@ -1358,6 +1358,7 @@
mActionHelpContents->setIcon( getThemeIcon( "/mActionHelpContents.png" ) );
mActionLocalHistogramStretch->setIcon( getThemeIcon( "/mActionLocalHistogramStretch.png" ) );
mActionFullHistogramStretch->setIcon( getThemeIcon( "/mActionFullHistogramStretch.png" ) );
+ mActionZoomActualSize->setIcon( getThemeIcon( "/mActionZoomNative.png" ) );
mActionQgisHomePage->setIcon( getThemeIcon( "/mActionQgisHomePage.png" ) );
mActionAbout->setIcon( getThemeIcon( "/mActionHelpAbout.png" ) );
mActionSponsors->setIcon( getThemeIcon( "/mActionHelpSponsors.png" ) );
@@ -1398,6 +1399,7 @@
mActionZoomLast->setIcon( getThemeIcon( "/mActionZoomLast.png" ) );
mActionZoomNext->setIcon( getThemeIcon( "/mActionZoomNext.png" ) );
mActionZoomToLayer->setIcon( getThemeIcon( "/mActionZoomToLayer.png" ) );
+ mActionZoomActualSize->setIcon( getThemeIcon( "/mActionZoomActual.png" ) );
mActionIdentify->setIcon( getThemeIcon( "/mActionIdentify.png" ) );
mActionSelect->setIcon( getThemeIcon( "/mActionSelect.png" ) );
mActionSelectRectangle->setIcon( getThemeIcon( "/mActionSelectRectangle.png" ) );
@@ -4858,6 +4860,10 @@
tr( "To perform a full histogram stretch, you need to have a raster layer selected." ) );
return;
}
+ if ( rlayer->providerKey() == "wms" )
+ {
+ return;
+ }
if ( rlayer->drawingStyle() == QgsRasterLayer::SingleBandGray ||
rlayer->drawingStyle() == QgsRasterLayer::MultiBandSingleBandGray ||
rlayer->drawingStyle() == QgsRasterLayer::MultiBandColor
@@ -4924,6 +4930,7 @@
}
}
+
void QgisApp::helpContents()
{
openURL( "index.html" );
@@ -5675,7 +5682,6 @@
mActionSelectFreehand->setEnabled( false );
mActionSelectRadius->setEnabled( false );
mActionIdentify->setEnabled( QSettings().value( "/Map/identifyMode", 0 ).toInt() != 0 );
- mActionZoomActualSize->setEnabled( false );
mActionOpenTable->setEnabled( false );
mActionToggleEditing->setEnabled( false );
mActionSaveEdits->setEnabled( false );
@@ -5718,7 +5724,7 @@
mActionLocalHistogramStretch->setEnabled( false );
mActionFullHistogramStretch->setEnabled( false );
-
+ mActionZoomActualSize->setEnabled( false );
return;
}
@@ -5734,6 +5740,7 @@
mActionLocalHistogramStretch->setEnabled( false );
mActionFullHistogramStretch->setEnabled( false );
+ mActionZoomActualSize->setEnabled( false );
mActionSelect->setEnabled( true );
mActionSelectRectangle->setEnabled( true );
@@ -5741,7 +5748,6 @@
mActionSelectFreehand->setEnabled( true );
mActionSelectRadius->setEnabled( true );
mActionIdentify->setEnabled( true );
- mActionZoomActualSize->setEnabled( false );
mActionOpenTable->setEnabled( true );
mActionLayerSaveAs->setEnabled( true );
mActionLayerSelectionSaveAs->setEnabled( true );
@@ -5962,8 +5968,17 @@
/*************Raster layers*************/
else if ( layer->type() == QgsMapLayer::RasterLayer )
{
- mActionLocalHistogramStretch->setEnabled( true );
- mActionFullHistogramStretch->setEnabled( true );
+ const QgsRasterLayer *rlayer = qobject_cast<const QgsRasterLayer *>( layer );
+ if ( rlayer->providerKey() == "wms" )
+ {
+ mActionLocalHistogramStretch->setEnabled( false );
+ mActionFullHistogramStretch->setEnabled( false );
+ }
+ else
+ {
+ mActionLocalHistogramStretch->setEnabled( true );
+ mActionFullHistogramStretch->setEnabled( true );
+ }
mActionLayerSubsetString->setEnabled( false );
mActionSelect->setEnabled( false );
mActionSelectRectangle->setEnabled( false );
Modified: trunk/qgis/src/app/qgisapp.h
===================================================================
--- trunk/qgis/src/app/qgisapp.h 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/app/qgisapp.h 2011-03-13 11:51:40 UTC (rev 15460)
@@ -493,9 +493,15 @@
void zoomToLayerExtent();
//! zoom to actual size of raster layer
void zoomActualSize();
- //! perform a local histogram stretch on the active raster layer (stretch based on pixel values in view extent)
+ /** Perform a local histogram stretch on the active raster layer
+ * (stretch based on pixel values in view extent).
+ * Valid for non wms raster layers only.
+ * @note Added in QGIS 1.7 */
void localHistogramStretch();
- //! perform a full histogram stretch on the active raster layer (stretch based on pixels values in full dataset)
+ /** perform a full histogram stretch on the active raster layer
+ * (stretch based on pixels values in full dataset)
+ * Valid for non wms raster layers only.
+ * @note Added in QGIS 1.7 */
void fullHistogramStretch();
//! plugin manager
void showPluginManager();
Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2011-03-13 11:51:40 UTC (rev 15460)
@@ -2055,7 +2055,7 @@
mDataProvider->populateHistogram( theBandNo, myRasterBandStats, theBinCount, theIgnoreOutOfRangeFlag, theHistogramEstimatedFlag );
}
-QString QgsRasterLayer::providerKey()
+QString QgsRasterLayer::providerKey() const
{
if ( mProviderKey.isEmpty() )
{
Modified: trunk/qgis/src/core/raster/qgsrasterlayer.h
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.h 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.h 2011-03-13 11:51:40 UTC (rev 15460)
@@ -550,7 +550,7 @@
QPixmap paletteAsPixmap( int theBand = 1 );
/** \brief [ data provider interface ] Which provider is being used for this Raster Layer? */
- QString providerKey();
+ QString providerKey() const;
/** \brief Returns the number of raster units per each raster pixel. In a world file, this is normally the first row (without the sign) */
double rasterUnitsPerPixel();
Modified: trunk/qgis/src/ui/qgisapp.ui
===================================================================
--- trunk/qgis/src/ui/qgisapp.ui 2011-03-13 01:16:00 UTC (rev 15459)
+++ trunk/qgis/src/ui/qgisapp.ui 2011-03-13 11:51:40 UTC (rev 15460)
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>750</width>
- <height>481</height>
+ <width>1054</width>
+ <height>491</height>
</rect>
</property>
<widget class="QWidget" name="centralwidget"/>
@@ -16,7 +16,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>750</width>
+ <width>1054</width>
<height>25</height>
</rect>
</property>
@@ -300,6 +300,7 @@
<addaction name="mActionPan"/>
<addaction name="mActionZoomIn"/>
<addaction name="mActionZoomOut"/>
+ <addaction name="mActionZoomActualSize"/>
<addaction name="mActionZoomFullExtent"/>
<addaction name="mActionZoomToSelected"/>
<addaction name="mActionZoomToLayer"/>
@@ -945,9 +946,16 @@
</property>
</action>
<action name="mActionZoomActualSize">
+ <property name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/mActionZoomActual.png</normaloff>:/images/themes/default/mActionZoomActual.png</iconset>
+ </property>
<property name="text">
<string>Zoom Actual Size</string>
</property>
+ <property name="toolTip">
+ <string>Zoom to Native Pixel Resolution</string>
+ </property>
</action>
<action name="mActionMapTips">
<property name="checkable">
More information about the QGIS-commit
mailing list