189 Commits

Author SHA1 Message Date
Leyan
45dfd53b4a add sip 2014-09-09 19:47:28 +08:00
Martin Dobias
dd78f099ab Fix doxygen warnings, fix missing bindings 2014-09-01 11:05:51 +07:00
Martin Dobias
d994e0a1b3 Fix #11006 (wrong size of symbols in print composer legend if map units are used) 2014-09-01 10:10:38 +07:00
Martin Dobias
ee3d67bcf3 Update Python bindings 2014-09-01 10:10:37 +07:00
Martin Dobias
cf955822a6 Identify renderer's categories/rules by key instead of index 2014-09-01 10:10:35 +07:00
Juergen E. Fischer
07165eae79 indentation update 2014-08-17 13:37:34 +02:00
Nyall Dawson
b15b014b82 Allow importing and exporting to GIMP palette file (gpl) from color list 2014-08-17 21:05:21 +10:00
Nyall Dawson
b45735529b Improvements to color list:
- Cleanup code
- Support copying and pasting multiple colors to list
- Support additional color list mime formats
2014-08-17 21:05:21 +10:00
Nyall Dawson
6d10ff3684 Support dropping multiple colors into a color list widget 2014-08-17 21:05:21 +10:00
Nathan Woodrow
d4b8c407ce Add render state support for graduated renderer
Add check state role for graduated renderer

Sync sip bindings
2014-07-06 21:14:42 +10:00
Juergen E. Fischer
51408e1608 categorized renderer: show category by default (followup 4867b7fa) 2014-07-05 00:49:45 +02:00
Nathan Woodrow
b4edd9d364 Use index to render legend symbol items 2014-07-05 08:25:30 +10:00
Juergen E. Fischer
4867b7fa37 [FEATURE][API] categorized render: support disabling rendering of some categories
Funded-By: norBIT
2014-07-04 21:40:22 +02:00
Nyall Dawson
3187410e1e Move decodeBlendMode to QgsSymbolLayerV2Utils 2014-07-04 23:47:07 +10:00
edigonzales
b3cbefc998 fixes two symbology bugs 2014-06-12 15:48:55 +02:00
Martin Dobias
3fe12df507 Fix #10355 (crash) and #10338 (overlapping polygons) in inverted polygon renderer
Conflicts:
	python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
	src/core/symbology-ng/qgsinvertedpolygonrenderer.cpp
	src/core/symbology-ng/qgsinvertedpolygonrenderer.h
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.cpp
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.h
2014-06-10 11:54:45 +07:00
Martin Dobias
25346fe98f Fixed indentation 2014-06-10 11:10:42 +07:00
Juergen E. Fischer
45c0be1059 sip: remove enum constants 2014-06-02 21:52:02 +02:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Hugo Mercier
3853fc232a Inverted polygon renderer: update SIP 2014-05-27 09:11:13 +02:00
Juergen E. Fischer
a168b9031b sip sync and indentation update 2014-05-24 20:37:36 +02:00
Martin Dobias
ff3cf0a9ad Fix SIP bindings 2014-05-24 12:00:44 +07:00
Hugo Mercier
66ac1eda38 Inverted polygons renderer: add SIP 2014-05-23 19:56:18 +02:00
Nyall Dawson
f31e637ed1 [FEATURE] Add right click menu to color buttons, allowing copying and pasting colors. Pasting colors accepts clipboard text in a variety of common formats, including hex and css style rgb and rgba strings. 2014-05-20 21:35:21 +10:00
Juergen E. Fischer
0a82f37e92 sync symbology-ng sips with headers (scripts/sipdiff) 2014-05-07 19:02:11 +02:00
Sandro Mani
53ac67517a min-max map unit scale support 2014-05-07 15:54:56 +02:00
Nathan Woodrow
f816bce9f1 Tweak UI for symbol builder and selector.
- Move blend options to below symbol builder
- Move Save symbol to under symbol stack
- Move open Symbol manager to next to group dropdown
2014-05-06 22:02:45 +10:00
Nyall Dawson
26c6435a85 [FEATURE] Add option for shifting markers in marker line style a set distance along the line. Supports delaying the start of markers placed at intervals, or placing markers a set distance before/after the first/last vertex (fix #9000) 2014-05-04 21:57:03 +10:00
Nyall Dawson
6836a7ded7 Expose outline join style as a parameter for simple fill symbol type 2014-04-03 19:52:53 +11:00
Nyall Dawson
942d5da59b Add option to ignore interior polygon rings when calculating buffered shading for shapeburst fill mode (can be useful for eg ignoring islands when shading water bodies) 2014-03-22 07:39:14 +11:00
Nyall Dawson
a0c2c7aaad Fix gradient fills using color ramps not respecting symbol transparency 2014-03-21 19:47:26 +11:00
Nyall Dawson
13cbfd138c [FEATURE] Add 'shapeburst' fill style. Shapeburst fills implement a buffered gradient fill, where a gradient is drawn from the boundary of a polygon towards the polygon's centre. Configurable parameters include distance from the boundary to shade, use of color ramps or simple two color gradients, optional blurring of the fill and offsets. 2014-03-21 12:50:50 +11:00
Martin Dobias
5a4f8d07a0 Change "added/deprecated in 2.1" notes to 2.4 for stuff related to threading 2014-02-21 17:33:09 +07:00
Martin Dobias
a3af93394e Merge branch 'master' into threading-revival
Some features are still disabled - will be fixed later

Conflicts:
	python/core/composer/qgscomposition.sip
	python/core/diagram/qgsdiagram.sip
	python/core/diagram/qgshistogramdiagram.sip
	python/core/diagram/qgspiediagram.sip
	python/core/diagram/qgstextdiagram.sip
	python/core/qgsdiagramrendererv2.sip
	python/core/qgsfield.sip
	python/core/qgslabelsearchtree.sip
	python/core/qgsmaprenderer.sip
	python/core/qgsrenderchecker.sip
	python/core/symbology-ng/qgssymbollayerv2.sip
	python/gui/qgsmapcanvas.sip
	src/app/composer/qgscomposerlegendwidget.cpp
	src/app/qgisapp.cpp
	src/core/composer/qgsatlascomposition.cpp
	src/core/composer/qgscomposerattributetable.cpp
	src/core/composer/qgscomposermap.cpp
	src/core/composer/qgscomposition.cpp
	src/core/composer/qgscomposition.h
	src/core/diagram/qgsdiagram.h
	src/core/diagram/qgshistogramdiagram.cpp
	src/core/diagram/qgshistogramdiagram.h
	src/core/diagram/qgspiediagram.cpp
	src/core/diagram/qgspiediagram.h
	src/core/diagram/qgstextdiagram.cpp
	src/core/diagram/qgstextdiagram.h
	src/core/qgsdiagramrendererv2.cpp
	src/core/qgsdiagramrendererv2.h
	src/core/qgsmaprenderer.cpp
	src/core/qgsmaprenderer.h
	src/core/qgsnetworkaccessmanager.h
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerfeatureiterator.cpp
	src/core/qgsvectorlayerfeatureiterator.h
	src/core/raster/qgsrasterlayer.cpp
	src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
	src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.h
	src/core/symbology-ng/qgssymbolv2.cpp
	src/gui/qgshighlight.cpp
	src/gui/qgsmapcanvas.cpp
	src/gui/qgsmapcanvas.h
	src/gui/qgsmapcanvasitem.cpp
	src/gui/qgsmaptoolidentify.cpp
	src/plugins/georeferencer/qgsgeorefplugingui.cpp
	src/providers/memory/qgsmemoryfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.h
	src/providers/ogr/qgsogrprovider.cpp
	src/providers/oracle/qgsoraclefeatureiterator.cpp
	src/providers/oracle/qgsoracleprovider.cpp
	src/providers/postgres/qgspostgresconn.cpp
	src/providers/postgres/qgspostgresfeatureiterator.cpp
	src/providers/postgres/qgspostgresfeatureiterator.h
	src/providers/wfs/qgswfsfeatureiterator.cpp
	src/providers/wms/qgswmsprovider.cpp
	src/providers/wms/qgswmsprovider.h
	src/ui/qgsoptionsbase.ui
	tests/src/core/CMakeLists.txt
	tests/src/core/testqgscomposereffects.cpp
	tests/src/core/testqgscomposerhtml.cpp
	tests/src/core/testqgscomposerscalebar.cpp
	tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Martin Dobias
e6c2ecd9f3 Fix #9290 (crashes in symbology on fields with special characters)
Fixes several crashes and problems with backwards compatibility.
Before expressions were allowed, field names were loaded and saved
unquoted, e.g. x.y  - with introduction of expressions it was
necessary to use properly quoted "x.y" name so that expression
is correctly parsed. With these changes both options are possible
and when possible, the unquoted field name is used for compatibility
2014-02-11 14:27:01 +07:00
Juergen E. Fischer
d647354a52 sip fixes 2014-01-28 00:26:13 +01:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
Martin Dobias
3568fe761e Merge pull request #1075 from Oslandia/expressions_in_symbol_rotation_and_scale_for_pr
[FEATURE] allow for expressions in symbol rotation and scale
2014-01-23 00:12:04 -08:00
Nyall Dawson
7d2bf150ed [FEATURE] Add option for simple line symbols to be drawn only inside a
polygon. Allows for creation of "national geographic" style borders on
maps where a thick border does not overlap into neighbouring polygons.
2014-01-21 15:58:29 +11:00
vmora
7d404d97ca allow for expressions in symbol rotation and scale
the single, graduated and categorised symbol renderers have been
refactored to avoid use of raw pointers (auto_ptr are used instead, they
are deprecated in c++11 but the change for unique_ptr is an easy one and
they clearly state the design intend: exclusive ownership)

2 general use function to quote and unquote strings for/from xml have
been added to qgis.h
2014-01-14 17:25:00 +01:00
Radim Blazek
a18b4a35c6 highlight identified feature using real feature shape 2014-01-12 18:19:32 +01:00
Nyall Dawson
9f7868263b Merge pull request #1046 from ahuarte47/Issue_9254
Bug #9254: fix point-style with "outline width" = 0 still show the outline
2014-01-12 02:52:30 -08:00
ahuarte47
183dd8eed6 #9254: define overloaded wellKnownMarkerFromSld function in sip
in sip
2014-01-02 08:12:35 +01:00
ahuarte47
27521074db #9254: avoid break compatibility with the 2.0 api 2014-01-02 08:12:34 +01:00
ahuarte47
4f6c9cdee7 #9254: Support for OutlineStyle in SLD files 2014-01-02 08:12:34 +01:00
Alvaro Huarte
440ede935a Feature #8725: Fast rendering of geom (v-OGR)
Implements fast rendering of LineStrings and Polygons pre-applying a
view threshold filter to the geometries to render in qgis. Also disable
'Antialiasing' when it is possible.

View Table of test results in 'http://hub.qgis.org/issues/8725'

(This version of branch implements the improvement in vector-providers)
2013-12-17 15:50:05 +01:00
Marco Hugentobler
561f01c0c2 [FEATURE]: merge dxf_export branch 2013-12-06 17:46:47 +01:00
Martin Dobias
2bece090f5 Update Python bindings to match changes in core/gui libraries. 2013-12-05 18:27:45 +07:00
nyalldawson
dfba26d9b0 [FEATURE] allow starting/ending a gradient at a features centroid 2013-11-03 20:55:33 +11:00