278 Commits

Author SHA1 Message Date
Nyall Dawson
a386e898f0 [composer] Cache features for attribute table, to reduce excessive cpu use and multiple queries to layer provider 2014-04-23 06:28:56 +10:00
Nyall Dawson
122034a07a [composer] Some small fixes to svg layers export, naming improvements, additional comments 2014-04-16 19:47:40 +10:00
vmora
0c19945c04 [composer] add svg export with layers 2014-04-16 19:11:20 +10:00
Sandro Mani
b9bd4d247e [composer] Correctly update extent when restoring composermap state, except when composer map is not yet visible after loading 2014-04-15 20:08:19 +10:00
Nyall Dawson
114d46c018 [FEATURE][composer] Allow filtering rows in attribute tables 2014-04-14 20:50:14 +10:00
Nyall Dawson
103b3b4e9a [FEATURE][composer] Allow setting line join and cap style for scalebars 2014-04-14 20:43:10 +10:00
Nyall Dawson
5bd87c81e8 [composer] Add undo/redo support for item transparency and blend modes, symbol change for shapes, overviews and grid styles 2014-04-13 22:19:47 +10:00
Sandro Mani
a714a18e82 [FEATURE][composer] Add support for specifying legend title horizontal alignment in composer 2014-04-13 15:02:20 +10:00
Nyall Dawson
12b025ea12 Update composer shape sip 2014-04-11 13:04:49 +10:00
Nyall Dawson
cfc83031ef [composer] Allow setting the join style for composer item frames 2014-04-08 20:20:25 +10:00
Juergen E. Fischer
8bd80f43c5 fix windows build 2014-04-05 01:19:50 +02:00
Denis Rouzaud
8b06a16a75 model/view for layer/field selectors 2014-04-03 14:51:26 +02:00
Bas Couwenberg
3d44c5934a Disable features on ARM.
Building QGIS on ARM produces the error:

sip: qgis/python/core/qgsclipper.sip:44: \
QgsClipper::trimFeature() unsupported function argument type - provide %MethodCode and a C++ signature

For the Android builds this was fixed in commit 2cc684793ceb29d8600d71564fb38f92c998f588.

This patch adapts the Android fix, by disabling the SIP features on all ARM systems.

Bug-Debian: http://bugs.debian.org/737814
2014-03-28 10:41:22 +01:00
Nyall Dawson
dd4975f285 Merge pull request #1255 from Oslandia/atlas_signals
Atlas signals
2014-03-21 13:23:59 +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
Hugo Mercier
9eb8ef4e98 Add signals to atlas generation 2014-03-18 17:08:09 +01: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
Nyall Dawson
9e948dfb2b [composer] Fix scrollbars in composer by correctly calculating scene bounds (fix #7691) 2014-02-13 22:38:01 +11:00
Nyall Dawson
d22f7e8b9d [composer] Fix stacking of items breaks after pasting items. Make sure pasted items are always placed in correct order on top of composition. 2014-02-06 22:46:42 +11:00
Nyall Dawson
78ecef6f2a [composer] Draw mouse handles and item bounds outside of item's frames, so that snapping occurs to edge of item frame (fix #8943) 2014-02-04 19:01:41 +11: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
Nyall Dawson
85a17c246a Add QgsMapLayerAction and QgsMapLayerActionRegistry, which can be
used as a generic api for registering actions which can apply to
a specific map layer or layer type.

Create a QgsMapLayerAction for setting features as the current
atlas feature for compositions.

This work was kindly sponsored by SIGE (www.sige.ch).
2014-01-20 21:35:56 +11:00
Juergen E. Fischer
a9d8bd1e5b update sip some bindings 2014-01-18 23:05:32 +01:00
Nyall Dawson
6bb9dfec00 [FEATURE][composer] Allow for more than one atlas controlled map in compositions (or none), by moving some atlas properties to map items (fix #9248) (fix #6484) 2014-01-14 22:52:01 +11:00
Martin Dobias
2bece090f5 Update Python bindings to match changes in core/gui libraries. 2013-12-05 18:27:45 +07:00
nyalldawson
247e6c762d Remove redundant composer selection tolerance setting 2013-10-31 13:28:11 +11:00
Nyall Dawson
ac0c5d1bd2 Add sip bindings for guide controls 2013-10-29 08:25:40 +01:00
Nyall Dawson
46009c6950 [FEATURE] Add clear guides action to composer view menu 2013-10-29 08:25:24 +01:00
nyalldawson
71b762bbb5 [FEATURE] Move option to snap to grid to composer view menu, add independant option to show/hide grid 2013-10-29 08:24:22 +01:00
Nyall Dawson
24d110606c [FEATURE] Allow multi item drag and resize in composer (fix #7918)
[FEATURE] Always draw selection handles on top of composition, add dashed border for selected items (fix #7793)
Move responsibility for drawing selection mouse handles and mouse interaction with selection to new class
2013-10-02 09:09:16 +02:00
Juergen E. Fischer
51297d5990 indentation update (note to self: always run scripts/prepare-commit.sh before committing) 2013-09-17 12:41:43 +02:00
nyalldawson
58d0483c46 [FEATURE] Setting for corner radius for composer rectangle shapes, allows creation of rounded rectangles in composers
Add tests for composer shapes
2013-09-17 08:17:51 +02:00
Marco Bernasocchi
2cc684793c worcarounds to make sip generation work on android 2013-09-09 17:15:38 -06:00
Hugo Mercier
b18f2736e1 Change computeWorldFileParameters signature and fix Python unit test 2013-09-08 13:17:39 +02:00
Juergen E. Fischer
0a1d44fc63 make qgis_app a shared library and fix some more stl warnings with msvc 2013-09-07 00:22:10 +02:00
Paolo Cavallini
135ef36569 Merge pull request #665 from Oslandia/overview_centering
[2.1] Overview centering
2013-09-05 02:22:42 -07:00
Juergen E. Fischer
abd7533fca composer table:
- fix api updates (fixes #7781)
- store/restore geometry of attribute selection dialog
2013-07-08 21:49:07 +02:00
Juergen E. Fischer
146233388c spelling fixes 2013-06-23 16:40:03 +02:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Juergen E. Fischer
99f998aa30 - add missing sip bindings
- port widgets_tree.py to QtXml and update customization.xml (fixes #5752 and  #8054)
2013-06-22 19:41:34 +02:00
Hugo Mercier
5c4f2ed984 Fix overview autocentering: always center, not only when the overview is not visible.
Work funded by Tuscany Region - SITA. Contract "Support to the use
of GFOSS (Geographic Free and Open Source Software) Desktop tools"
(CIG Z3B06FA6D7).
2013-06-19 09:15:56 +02:00
Hugo Mercier
f0f72ca8a9 Add SIP and Python unit test for overview autocentering.
Work funded by Tuscany Region - SITA. Contract "Support to the use
of GFOSS (Geographic Free and Open Source Software) Desktop tools"
(CIG Z3B06FA6D7).
2013-06-17 17:34:33 +02:00
nyalldawson
519fe2f4ac Add python bindings and tests for grid blending, grid annotation font color, vector feature blending and vector layer transparency 2013-05-13 22:28:00 +10:00
nyalldawson
9e870c7893 Add tests for python bindings for composer item blending and transparency
Add python bindings for composer item background
2013-05-01 14:05:43 +10:00
nyalldawson
171973a54f Add blending mode for overview frame, option to invert overview frame 2013-04-29 21:48:49 +10:00
nyalldawson
13d7ced401 Add SIP bindings for composer item blend mode and transparency 2013-04-22 14:16:30 +10:00
Martin Dobias
ba49ef078c [API] Removed QgsSymbol, QgsMarkerCatalgoue and QgsSymbologyUtils 2013-04-07 23:46:57 +02:00
Radim Blazek
ee84bb1f2c composer legend styles, fixes partialy #6960 2013-03-26 20:04:49 +01:00