QGIS/images/themes/default/propertyicons/labelbackground.svg
Larry Shaffer 45f374f428 Update labeling gui and add expression support as data defined value
- Add QgsDataDefined class
- Add QgsDataDefinedButton class
- Add data defined Python support
- Add standalone SVG selector dialog to QgsSvgSelectorWidget class

- Fix for #4607, show only pertinent fields when setting a data defined value
- Fix for #5048 and #5049, data defined settings are literally used
- Fix for #5726, number formatting does not work for expressions
- Fix for #7755, using bufferSize to enable/disable label buffer is confusing
- Fix for #7779, labels do not register in label collision engine; and for #4719, inactive options in labeling dialog
- Prepare label text's expression upfront when preparing layer; makes rendering much faster
- Change name of 'feature obstacles' to appropriate terminology
2013-05-20 12:22:29 -06:00

55 lines
5.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0"
id="buffer" inkscape:version="0.47 r22583" sodipodi:docname="label.svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" inkscape:export-filename="/mnt/home1/robert/svn/graphics/trunk/toolbar-icons/24x24/label.png" xmlns:svg="http://www.w3.org/2000/svg" inkscape:export-ydpi="90" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:export-xdpi="90" xmlns:cc="http://creativecommons.org/ns#"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="64px" height="64px"
viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve">
<g id="g3173">
<path id="path3175" fill="#ED1C24" d="M59.217,17.11h-0.083c-1.369-4.199-3.267-7.639-5.683-10.323
c-5.889,1.964-9.385,2.955-10.487,2.955c-1.318,0-3.195-0.549-5.638-1.637c-2.446-1.084-4.347-1.633-5.716-1.633
c-1.31,0-3.168,0.549-5.558,1.633c-2.389,1.088-4.271,1.637-5.634,1.637c-1.053,0-4.531-0.99-10.417-2.955
c-2.254,2.597-4.105,5.845-5.535,9.735c-0.079,0.193-0.147,0.388-0.219,0.584h0.079c-1.159,3.273-1.735,6.273-1.735,9.005
c0,9.353,4.287,17.404,12.855,24.162c5.683,4.478,11.09,6.714,16.242,6.714c5.256,0,10.698-2.217,16.324-6.65
c8.622-6.759,12.934-14.834,12.934-24.229C60.951,23.379,60.369,20.38,59.217,17.11z"/>
<path id="path3177" fill="#0072BC" d="M59.138,17.11h0.083c1.151,3.274,1.73,6.27,1.73,9.002c0,9.391-4.312,17.47-12.933,24.23
c-5.627,4.429-11.069,6.648-16.326,6.648c-5.151,0-10.559-2.235-16.242-6.713C6.879,43.516,2.592,35.462,2.592,26.112
c0-2.732,0.576-5.728,1.735-9.002H59.138z"/>
<g>
<path fill="#231F20" d="M31.61,7.971c1.137,0,2.854,0.506,5.105,1.503c2.669,1.189,4.713,1.767,6.248,1.767
c0.837,0,2.742-0.317,10.005-2.714c1.975,2.413,3.566,5.452,4.739,9.047l0.341,1.035h0.094c0.869,2.72,1.309,5.24,1.309,7.502
c0,8.865-4.158,16.62-12.36,23.051c-5.334,4.198-10.515,6.327-15.398,6.327c-4.779,0-9.931-2.15-15.313-6.391
c-1.546-1.22-2.965-2.498-4.217-3.802c-5.355-5.569-8.07-12.025-8.07-19.186c0-2.552,0.555-5.414,1.649-8.505l0.708-2H6.434
c1.124-2.716,2.487-5.086,4.067-7.073c7.242,2.392,9.111,2.708,9.917,2.708c1.59,0,3.637-0.58,6.253-1.771
C29.404,8.231,30.865,7.971,31.61,7.971 M31.61,6.471c-1.31,0-3.168,0.549-5.558,1.633c-2.389,1.088-4.271,1.637-5.634,1.637
c-1.053,0-4.531-0.99-10.417-2.955c-2.254,2.597-4.105,5.845-5.535,9.735c-0.079,0.193-0.147,0.388-0.219,0.584h0.079
c-1.159,3.273-1.735,6.273-1.735,9.005c0,7.6,2.831,14.34,8.489,20.226c1.306,1.358,2.763,2.672,4.37,3.939
c5.683,4.478,11.09,6.713,16.242,6.713c5.256,0,10.699-2.22,16.326-6.648c8.621-6.76,12.933-14.839,12.933-24.23
c0-2.732-0.579-5.728-1.73-9.002h-0.004h-0.079h-0.004c-1.369-4.199-3.267-7.639-5.683-10.323
c-5.889,1.964-9.385,2.955-10.487,2.955c-1.318,0-3.195-0.549-5.638-1.637C34.88,7.021,32.979,6.471,31.61,6.471L31.61,6.471z"/>
</g>
</g>
<g display="none" enable-background="new ">
<path display="inline" fill="#FFFFFF" d="M22.755,37.342v0.431h-3.87c-0.271-0.407-0.408-0.865-0.408-1.375
c-1.254,1.306-2.647,1.961-4.174,1.961c-1.308,0-2.377-0.432-3.208-1.298c-0.645-0.694-0.967-1.637-0.967-2.824
c0-2.427,1.349-3.871,4.047-4.33l1.425-0.254c1.153-0.185,1.858-0.337,2.112-0.458c0.017-0.018,0.06-0.041,0.127-0.075
c0.407-0.223,0.61-0.576,0.61-1.069c0-0.917-0.688-1.374-2.062-1.374c-1.153,0-1.892,0.272-2.214,0.814l-0.229,0.612l-0.076,0.459
h-3.436c0.219-3.174,2.18-4.762,5.88-4.762c3.75,0,5.625,1.409,5.625,4.226v7.636c0,0.577,0.22,1.086,0.663,1.526
C22.653,37.24,22.705,37.292,22.755,37.342z M18.453,32.253v-0.969c-0.323,0.154-0.824,0.298-1.501,0.433l-1.222,0.229
c-1.122,0.236-1.774,0.662-1.96,1.272l-0.077,0.612c0,0.83,0.414,1.355,1.247,1.577c0.204,0.051,0.434,0.076,0.687,0.076
c1.475,0,2.375-0.706,2.699-2.112C18.41,33.032,18.453,32.66,18.453,32.253z"/>
<path display="inline" fill="#FFFFFF" d="M26.93,19.219h3.564v6.593c0.848-1.341,2.113-2.012,3.792-2.012
c1.44,0,2.684,0.51,3.718,1.526c0.223,0.221,0.419,0.451,0.587,0.688c0.985,1.426,1.476,3.116,1.476,5.067
c0,2.324-0.671,4.198-2.011,5.627c-1.069,1.103-2.324,1.655-3.766,1.655c-1.683,0-2.945-0.663-3.795-1.987v1.399h-3.563
L26.93,19.219L26.93,19.219z M33.499,26.779c-1.124,0-1.961,0.603-2.522,1.808l-0.305,0.889c-0.121,0.492-0.179,1.01-0.179,1.553
c0,1.85,0.509,3.141,1.528,3.87c0.425,0.323,0.914,0.481,1.476,0.481c1.086,0,1.919-0.583,2.494-1.756
c0.34-0.729,0.51-1.569,0.51-2.519c0-1.732-0.476-2.987-1.425-3.769C34.602,26.965,34.072,26.779,33.499,26.779z"/>
<path display="inline" fill="#FFFFFF" d="M54.269,29.171h-3.411c-0.287-1.307-0.808-2.086-1.552-2.343l-0.716-0.151
c-0.08,0-0.176,0-0.278,0c-1.051,0-1.787,0.39-2.215,1.17c-0.456,0.865-0.685,1.978-0.685,3.336c0,2.07,0.558,3.401,1.68,3.995
c0.375,0.203,0.778,0.308,1.222,0.308c1.02,0,1.745-0.467,2.188-1.402c0.136-0.305,0.253-0.66,0.355-1.065h3.411
c-0.222,2.1-1.146,3.621-2.774,4.556c-0.933,0.524-2.001,0.788-3.207,0.788c-2.685,0-4.55-1.051-5.603-3.156
c-0.557-1.122-0.837-2.46-0.837-4.024c0-3.172,1.009-5.354,3.028-6.542c0.967-0.559,2.121-0.84,3.462-0.84
c2.342,0,4.031,0.831,5.065,2.496c0.324,0.56,0.561,1.178,0.715,1.858C54.18,28.477,54.235,28.814,54.269,29.171z"/>
</g>
</svg>