[QGIS Commit] r9013 - in trunk/qgis: images/themes/default src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 6 20:59:45 EDT 2008


Author: timlinux
Date: 2008-08-06 20:59:45 -0400 (Wed, 06 Aug 2008)
New Revision: 9013

Added:
   trunk/qgis/images/themes/default/geographic.png
   trunk/qgis/images/themes/default/transformed.png
   trunk/qgis/images/themes/default/user.png
   trunk/qgis/images/themes/default/user.svg
Modified:
   trunk/qgis/src/gui/qgsprojectionselector.cpp
Log:
Added icons for different projection classes in projection selector


Added: trunk/qgis/images/themes/default/geographic.png
===================================================================
(Binary files differ)


Property changes on: trunk/qgis/images/themes/default/geographic.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/qgis/images/themes/default/transformed.png
===================================================================
(Binary files differ)


Property changes on: trunk/qgis/images/themes/default/transformed.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/qgis/images/themes/default/user.png
===================================================================
(Binary files differ)


Property changes on: trunk/qgis/images/themes/default/user.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/qgis/images/themes/default/user.svg
===================================================================
--- trunk/qgis/images/themes/default/user.svg	                        (rev 0)
+++ trunk/qgis/images/themes/default/user.svg	2008-08-07 00:59:45 UTC (rev 9013)
@@ -0,0 +1,110 @@
+<?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="32"
+   height="32"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.46"
+   version="1.0"
+   sodipodi:docname="user.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape">
+  <defs
+     id="defs4">
+    <linearGradient
+       id="linearGradient3163">
+      <stop
+         style="stop-color:#040000;stop-opacity:1;"
+         offset="0"
+         id="stop3165" />
+      <stop
+         id="stop3171"
+         offset="0.5"
+         style="stop-color:#1d0c0c;stop-opacity:0.76712328;" />
+      <stop
+         style="stop-color:#180c0c;stop-opacity:0.78995436;"
+         offset="1"
+         id="stop3167" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 526.18109 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="744.09448 : 526.18109 : 1"
+       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+       id="perspective10" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3163"
+       id="linearGradient3169"
+       x1="1.3186283"
+       y1="16.271051"
+       x2="28.74"
+       y2="16.271051"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3163"
+       id="linearGradient3175"
+       gradientUnits="userSpaceOnUse"
+       x1="1.3186283"
+       y1="16.271051"
+       x2="28.74"
+       y2="16.271051"
+       gradientTransform="translate(0.6506859,0.888948)" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     gridtolerance="10000"
+     guidetolerance="10"
+     objecttolerance="10"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="25"
+     inkscape:cx="9.02"
+     inkscape:cy="16"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1680"
+     inkscape:window-height="986"
+     inkscape:window-x="0"
+     inkscape:window-y="0" />
+  <metadata
+     id="metadata7">
+    <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>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       style="fill:url(#linearGradient3175);fill-opacity:1;fill-rule:evenodd;stroke:#bbb2b2;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 2.7306859,29.928948 C 2.5874561,29.708896 2.3238722,29.175762 2.5706859,28.928948 C 2.7197622,28.779872 2.8637321,28.635902 3.0106859,28.488948 C 3.2133874,28.286246 3.5859807,28.073653 3.7706859,27.888948 C 3.9706007,27.689033 4.4583486,27.465117 4.7306859,27.328948 C 4.9003926,27.244095 5.1386073,27.041027 5.2506859,26.928948 C 5.4606745,26.718959 5.9350091,26.745706 6.1706859,26.568948 C 6.3328079,26.447357 6.6324837,26.418049 6.8106859,26.328948 C 6.9832299,26.242676 7.2848048,26.288948 7.4906859,26.288948 C 7.6784307,26.288948 7.9530801,26.243349 8.0906859,26.208948 C 8.3009665,26.156378 8.5902382,26.168948 8.7306859,26.168948 C 8.8909641,26.168948 9.1567656,26.115908 9.2906859,26.048948 C 9.4340854,25.977248 9.6056579,25.831462 9.7306859,25.768948 C 9.808563,25.730009 10.005758,25.413876 10.090686,25.328948 C 10.21617,25.203464 10.360714,25.048911 10.450686,24.928948 C 10.584925,24.749963 10.742161,24.606981 10.890686,24.408948 C 11.036271,24.214835 11.130686,24.096662 11.130686,23.848948 C 11.130686,23.699821 11.330686,23.494399 11.330686,23.248948 C 11.330686,23.074571 11.408562,22.777446 11.450686,22.608948 C 11.505492,22.389723 11.477438,22.141942 11.530686,21.928948 C 11.582842,21.720326 11.610686,21.611849 11.610686,21.368948 C 11.610686,21.163685 11.589605,20.966786 11.530686,20.848948 C 11.484827,20.75723 11.174399,20.669876 11.090686,20.648948 C 10.922575,20.60692 10.737839,20.552524 10.610686,20.488948 C 10.422071,20.394641 10.308667,20.266929 10.210686,20.168948 C 10.096008,20.054271 9.945381,19.916296 9.810686,19.848948 C 9.5773529,19.732282 9.7163514,19.658197 9.4906859,19.488948 C 9.3238666,19.363834 9.2174215,19.214 9.0506859,19.088948 C 8.8839373,18.963887 8.7729825,18.771245 8.6506859,18.648948 C 8.4019086,18.400171 8.2728784,18.131871 8.0906859,17.888948 C 7.942394,17.691225 7.8456969,17.522296 7.7306859,17.368948 C 7.6354379,17.241951 7.6506859,16.88154 7.6506859,16.728948 C 7.6506859,16.529474 7.6175298,16.236324 7.5706859,16.048948 C 7.5135329,15.820336 7.6106859,15.56059 7.6106859,15.328948 C 7.6106859,15.090072 7.6506859,14.893794 7.6506859,14.648948 C 7.6506859,14.342553 7.5294208,14.077301 7.7306859,13.808948 C 7.9925089,13.459851 7.9489653,12.65583 8.0506859,12.248948 C 8.1268313,11.944366 8.1384472,11.617903 8.2106859,11.328948 C 8.2949686,10.991817 8.3308959,10.648003 8.4106859,10.288948 C 8.4766272,9.9922123 8.5755988,9.7092962 8.6506859,9.408948 C 8.715679,9.1489755 8.9142168,8.8818862 9.0106859,8.688948 C 9.1733362,8.3636474 9.5675465,8.0120874 9.770686,7.808948 C 9.868546,7.7110875 9.969871,7.4497633 10.090686,7.328948 C 10.257914,7.1617198 10.365396,7.0142377 10.530686,6.848948 C 10.746857,6.6327767 10.871226,6.5884083 11.090686,6.368948 C 11.290762,6.1688725 11.54884,5.9326394 11.690686,5.648948 C 11.718595,5.5931302 12.338027,5.408948 12.410686,5.408948 C 12.582068,5.408948 12.792508,5.1734926 12.970686,5.128948 C 13.216925,5.0673883 13.446165,5.0916603 13.650686,4.968948 C 13.850792,4.8488846 14.179709,4.808948 14.410686,4.808948 C 14.745801,4.808948 15.02135,4.7508151 15.330686,4.688948 C 15.67787,4.6195112 16.011852,4.568948 16.370686,4.568948 C 16.84704,4.568948 17.320475,4.448948 17.810686,4.448948 C 18.224019,4.448948 18.637353,4.448948 19.050686,4.448948 C 19.282772,4.448948 19.522943,4.4608838 19.730686,4.408948 C 19.898714,4.3669409 20.161149,4.4065637 20.330686,4.448948 C 20.574206,4.5098281 20.749957,4.6282194 20.890686,4.768948 C 21.017996,4.896258 21.236117,5.0416637 21.410686,5.128948 C 21.632064,5.239637 21.756435,5.4682596 21.890686,5.568948 C 22.061469,5.6970352 22.27619,5.8016999 22.450686,5.888948 C 22.620173,5.9736913 22.816977,6.1752389 22.970686,6.328948 C 23.103886,6.4621478 23.249827,6.6080893 23.370686,6.728948 C 23.551447,6.9097093 23.680904,7.1600359 23.730686,7.408948 C 23.80099,7.760467 23.730686,8.1875403 23.730686,8.528948 C 23.730686,8.8337438 23.683142,8.9138592 23.810686,9.168948 C 23.900893,9.3493611 23.938307,9.5841908 24.010686,9.728948 C 24.082285,9.8721467 24.050686,10.199977 24.050686,10.368948 C 24.050686,10.553172 24.170005,10.768041 24.290686,10.928948 C 24.393555,11.066106 24.410686,11.472049 24.410686,11.688948 C 24.410686,11.978098 24.490686,12.360047 24.490686,12.688948 C 24.490686,12.951225 24.530686,13.297993 24.530686,13.608948 C 24.530686,13.953467 24.410686,14.26504 24.410686,14.608948 C 24.410686,14.78484 24.570686,14.832647 24.570686,15.088948 C 24.570686,15.435615 24.570686,15.782281 24.570686,16.128948 C 24.570686,16.674086 24.349508,16.813647 24.490686,17.448948 C 24.545242,17.694451 24.421499,17.885698 24.370686,18.088948 C 24.293782,18.396563 24.271066,18.648441 24.090686,18.888948 C 23.954908,19.069986 23.867089,19.336142 23.770686,19.528948 C 23.648017,19.774286 23.322973,20.016661 23.170686,20.168948 C 23.003979,20.335655 22.659836,20.396661 22.450686,20.448948 C 22.186943,20.514884 21.91432,20.50304 21.650686,20.568948 C 21.465212,20.615316 21.224715,20.761934 21.050686,20.848948 C 20.86848,20.940051 20.8968,21.117419 20.690686,21.168948 C 20.470093,21.224096 20.677281,21.435543 20.810686,21.568948 C 20.938093,21.696355 20.890686,21.949435 20.890686,22.128948 C 20.890686,22.276703 20.974783,22.465337 21.010686,22.608948 C 21.057811,22.797449 21.050542,23.089522 21.010686,23.248948 C 20.966623,23.425199 21.011412,23.691853 21.050686,23.848948 C 21.105,24.066206 21.130686,24.217108 21.130686,24.448948 C 21.130686,24.619181 21.130686,24.784187 21.130686,25.008948 C 21.130686,25.209803 21.31066,25.308922 21.410686,25.408948 C 21.550702,25.548964 21.719914,25.598176 21.850686,25.728948 C 21.931177,25.809439 22.194129,25.89653 22.290686,25.968948 C 22.410105,26.058512 22.739528,26.091158 22.890686,26.128948 C 23.037357,26.165616 23.282942,26.168948 23.490686,26.168948 C 23.661121,26.168948 23.896795,26.200475 24.090686,26.248948 C 24.308789,26.303474 24.636774,26.328948 24.850686,26.328948 C 25.132645,26.328948 25.290065,26.508637 25.490686,26.608948 C 25.703464,26.715337 25.827341,26.797275 26.010686,26.888948 C 26.184652,26.975931 26.250623,27.188932 26.490686,27.248948 C 26.71738,27.305621 26.84387,27.34554 27.050686,27.448948 C 27.251153,27.549182 27.349458,27.598334 27.530686,27.688948 C 27.696308,27.771759 27.875221,27.978018 27.930686,28.088948 C 28.018155,28.263887 28.109287,28.283351 28.170686,28.528948 C 28.20435,28.663602 28.53059,28.808852 28.610686,28.888948 C 28.662817,28.941079 28.732566,29.332707 28.770686,29.408948 C 28.790789,29.449153 28.551369,29.549631 28.890686,29.528948 L 2.7306859,29.928948 z"
+       id="path3173"
+       sodipodi:nodetypes="cssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscc" />
+    <path
+       style="fill:url(#linearGradient3169);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1.0"
+       d="M 2.08,29.04 C 1.9367702,28.819948 1.6731863,28.286814 1.92,28.04 C 2.0690763,27.890924 2.2130462,27.746954 2.36,27.6 C 2.5627015,27.397298 2.9352948,27.184705 3.12,27 C 3.3199148,26.800085 3.8076627,26.576169 4.08,26.44 C 4.2497067,26.355147 4.4879214,26.152079 4.6,26.04 C 4.8099886,25.830011 5.2843232,25.856758 5.52,25.68 C 5.682122,25.558409 5.9817978,25.529101 6.16,25.44 C 6.332544,25.353728 6.6341189,25.4 6.84,25.4 C 7.0277448,25.4 7.3023942,25.354401 7.44,25.32 C 7.6502806,25.26743 7.9395523,25.28 8.08,25.28 C 8.2402782,25.28 8.5060797,25.22696 8.64,25.16 C 8.7833995,25.0883 8.954972,24.942514 9.08,24.88 C 9.1578773,24.841061 9.3550718,24.524928 9.44,24.44 C 9.5654841,24.314516 9.7100277,24.159963 9.8,24.04 C 9.9342388,23.861015 10.091475,23.718033 10.24,23.52 C 10.385585,23.325887 10.48,23.207714 10.48,22.96 C 10.48,22.810873 10.68,22.605451 10.68,22.36 C 10.68,22.185623 10.757876,21.888498 10.8,21.72 C 10.854806,21.500775 10.826752,21.252994 10.88,21.04 C 10.932156,20.831378 10.96,20.722901 10.96,20.48 C 10.96,20.274737 10.938919,20.077838 10.88,19.96 C 10.834141,19.868282 10.523713,19.780928 10.44,19.76 C 10.271889,19.717972 10.087153,19.663576 9.96,19.6 C 9.7713856,19.505693 9.6579807,19.377981 9.56,19.28 C 9.4453225,19.165323 9.2946951,19.027348 9.16,18.96 C 8.926667,18.843334 9.0656655,18.769249 8.84,18.6 C 8.6731807,18.474886 8.5667356,18.325052 8.4,18.2 C 8.2332514,18.074939 8.1222966,17.882297 8,17.76 C 7.7512227,17.511223 7.6221925,17.242923 7.44,17 C 7.2917081,16.802277 7.195011,16.633348 7.08,16.48 C 6.984752,16.353003 7,15.992592 7,15.84 C 7,15.640526 6.9668439,15.347376 6.92,15.16 C 6.862847,14.931388 6.96,14.671642 6.96,14.44 C 6.96,14.201124 7,14.004846 7,13.76 C 7,13.453605 6.8787349,13.188353 7.08,12.92 C 7.341823,12.570903 7.2982794,11.766882 7.4,11.36 C 7.4761454,11.055418 7.4877613,10.728955 7.56,10.44 C 7.6442827,10.102869 7.68021,9.7590551 7.76,9.4 C 7.8259413,9.1032643 7.9249129,8.8203482 8,8.52 C 8.0649931,8.2600275 8.2635309,7.9929382 8.36,7.8 C 8.5226503,7.4746994 8.9168606,7.1231394 9.12,6.92 C 9.2178605,6.8221395 9.3191847,6.5608153 9.44,6.44 C 9.6072282,6.2727718 9.7147103,6.1252897 9.88,5.96 C 10.096171,5.7438287 10.22054,5.6994603 10.44,5.48 C 10.640076,5.2799245 10.898154,5.0436914 11.04,4.76 C 11.067909,4.7041822 11.687341,4.52 11.76,4.52 C 11.931382,4.52 12.141822,4.2845446 12.32,4.24 C 12.566239,4.1784403 12.795479,4.2027123 13,4.08 C 13.200106,3.9599366 13.529023,3.92 13.76,3.92 C 14.095115,3.92 14.370664,3.8618671 14.68,3.8 C 15.027184,3.7305632 15.361166,3.68 15.72,3.68 C 16.196354,3.68 16.669789,3.56 17.16,3.56 C 17.573333,3.56 17.986667,3.56 18.4,3.56 C 18.632086,3.56 18.872257,3.5719358 19.08,3.52 C 19.248028,3.4779929 19.510463,3.5176157 19.68,3.56 C 19.92352,3.6208801 20.099271,3.7392714 20.24,3.88 C 20.36731,4.00731 20.585431,4.1527157 20.76,4.24 C 20.981378,4.350689 21.105749,4.5793116 21.24,4.68 C 21.410783,4.8080872 21.625504,4.9127519 21.8,5 C 21.969487,5.0847433 22.166291,5.2862909 22.32,5.44 C 22.4532,5.5731998 22.599141,5.7191413 22.72,5.84 C 22.900761,6.0207613 23.030218,6.2710879 23.08,6.52 C 23.150304,6.871519 23.08,7.2985923 23.08,7.64 C 23.08,7.9447958 23.032456,8.0249112 23.16,8.28 C 23.250207,8.4604131 23.287621,8.6952428 23.36,8.84 C 23.431599,8.9831987 23.4,9.3110286 23.4,9.48 C 23.4,9.6642239 23.519319,9.8790926 23.64,10.04 C 23.742869,10.177158 23.76,10.583101 23.76,10.8 C 23.76,11.08915 23.84,11.471099 23.84,11.8 C 23.84,12.062277 23.88,12.409045 23.88,12.72 C 23.88,13.064519 23.76,13.376092 23.76,13.72 C 23.76,13.895892 23.92,13.943699 23.92,14.2 C 23.92,14.546667 23.92,14.893333 23.92,15.24 C 23.92,15.785138 23.698822,15.924699 23.84,16.56 C 23.894556,16.805503 23.770813,16.99675 23.72,17.2 C 23.643096,17.507615 23.62038,17.759493 23.44,18 C 23.304222,18.181038 23.216403,18.447194 23.12,18.64 C 22.997331,18.885338 22.672287,19.127713 22.52,19.28 C 22.353293,19.446707 22.00915,19.507713 21.8,19.56 C 21.536257,19.625936 21.263634,19.614092 21,19.68 C 20.814526,19.726368 20.574029,19.872986 20.4,19.96 C 20.217794,20.051103 20.246114,20.228471 20.04,20.28 C 19.819407,20.335148 20.026595,20.546595 20.16,20.68 C 20.287407,20.807407 20.24,21.060487 20.24,21.24 C 20.24,21.387755 20.324097,21.576389 20.36,21.72 C 20.407125,21.908501 20.399856,22.200574 20.36,22.36 C 20.315937,22.536251 20.360726,22.802905 20.4,22.96 C 20.454314,23.177258 20.48,23.32816 20.48,23.56 C 20.48,23.730233 20.48,23.895239 20.48,24.12 C 20.48,24.320855 20.659974,24.419974 20.76,24.52 C 20.900016,24.660016 21.069228,24.709228 21.2,24.84 C 21.280491,24.920491 21.543443,25.007582 21.64,25.08 C 21.759419,25.169564 22.088842,25.20221 22.24,25.24 C 22.386671,25.276668 22.632256,25.28 22.84,25.28 C 23.010435,25.28 23.246109,25.311527 23.44,25.36 C 23.658103,25.414526 23.986088,25.44 24.2,25.44 C 24.481959,25.44 24.639379,25.619689 24.84,25.72 C 25.052778,25.826389 25.176655,25.908327 25.36,26 C 25.533966,26.086983 25.599937,26.299984 25.84,26.36 C 26.066694,26.416673 26.193184,26.456592 26.4,26.56 C 26.600467,26.660234 26.698772,26.709386 26.88,26.8 C 27.045622,26.882811 27.224535,27.08907 27.28,27.2 C 27.367469,27.374939 27.458601,27.394403 27.52,27.64 C 27.553664,27.774654 27.879904,27.919904 27.96,28 C 28.012131,28.052131 28.08188,28.443759 28.12,28.52 C 28.140103,28.560205 27.900683,28.660683 28.24,28.64 L 2.08,29.04 z"
+       id="path2383"
+       sodipodi:nodetypes="cssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscc" />
+  </g>
+</svg>

Modified: trunk/qgis/src/gui/qgsprojectionselector.cpp
===================================================================
--- trunk/qgis/src/gui/qgsprojectionselector.cpp	2008-08-07 00:20:00 UTC (rev 9012)
+++ trunk/qgis/src/gui/qgsprojectionselector.cpp	2008-08-07 00:59:45 UTC (rev 9013)
@@ -496,7 +496,9 @@
 
   QFont fontTemp = mUserProjList->font(0);
   fontTemp.setItalic(TRUE);
+  fontTemp.setBold(TRUE);
   mUserProjList->setFont(0, fontTemp);
+  mUserProjList->setIcon(0,QIcon(QgsApplication::activeThemePath()+"user.png"));
 
   //determine where the user proj database lives for this user. If none is found an empty
   //now only will be shown
@@ -568,17 +570,21 @@
   //
   // Geographic coordinate system node
   mGeoList = new QTreeWidgetItem(lstCoordinateSystems,QStringList(tr("Geographic Coordinate Systems")));
-
+  
   QFont fontTemp = mGeoList->font(0);
   fontTemp.setItalic(TRUE);
+  fontTemp.setBold(TRUE);
   mGeoList->setFont(0, fontTemp);
+  mGeoList->setIcon(0,QIcon(QgsApplication::activeThemePath()+"geographic.png"));
 
   // Projected coordinate system node
   mProjList = new QTreeWidgetItem(lstCoordinateSystems,QStringList(tr("Projected Coordinate Systems")));
 
   fontTemp = mProjList->font(0);
   fontTemp.setItalic(TRUE);
+  fontTemp.setBold(TRUE);
   mProjList->setFont(0, fontTemp);
+  mProjList->setIcon(0,QIcon(QgsApplication::activeThemePath()+"transformed.png"));
 
   //bail out in case the projections db does not exist
   //this is neccessary in case the pc is running linux with a



More information about the QGIS-commit mailing list