Martin Dobias
2427546d88
Make QgsExpression parser reentrant. Fixes crashes when expressions are parsed in multiple threads.
...
Sponsored by a big dose of caffeine.
2014-09-25 18:19:05 +02:00
Nyall Dawson
272b79b6ca
[FEATURE][composer] Add checkbox to frame items for preventing export
...
of page containing frame when frame is empty. This change allows
users to create multiple pages containing extra frames for multiframe
items (currently HTML and Attribute Table items), which are then only
printed/exported if required. Sponsored by the City of Uster, Switzerland.
2014-09-26 01:08:07 +10:00
Nyall Dawson
34f00d106f
[FEATURE][composer] Add checkbox for showing unique records only in composer
...
attribute tables. (Sponsored by my OCD)
2014-09-23 19:28:40 +10:00
Nyall Dawson
14690d0716
[FEATURE][composer] Add choice of display style for empty tables. Options
...
include hiding the entire table, showing empty cells, or displaying a
set message in the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:30 +10:00
Nyall Dawson
c3ec4b9eb0
[FEATURE][composer] Add option for showing child features from a relation
...
for attribute tables in the composer. If selected, the attribute table
will show all related features to the current atlas feature within
the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:20 +10:00
Nyall Dawson
f58768c550
[FEATURE][composer] Option for current atlas feature as source for
...
attribute tables. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:07 +10:00
Nyall Dawson
1cb328c349
Fix incorrectly failing composer html test
2014-09-22 20:54:40 +10:00
Nyall Dawson
b893cb241c
[FEATURE][composer] Allow manual control of column widths for attribute table items.
2014-09-22 19:13:47 +10:00
Nyall Dawson
eea0451b79
Some fixes to TestQgsComposerTableV2
2014-09-21 21:31:24 +10:00
Nyall Dawson
a554434e50
[composer] Fix failing QgsAtlasComposition python test
2014-09-21 21:06:10 +10:00
Nyall Dawson
6138131366
Fix failing atlas tests
2014-09-21 21:00:44 +10:00
Nyall Dawson
3af68f4888
Rebuild composer test images at 96 dpi to speed up unit tests
2014-09-21 19:47:39 +10:00
Nyall Dawson
97ea6f68c9
Split composer map overview tests off into their own test suite
2014-09-21 00:47:57 +10:00
Nyall Dawson
ccad38bf33
[composer] Clean up QgsComposerMap api, add docs and missing sip bindings for composer overviews
2014-09-21 00:47:57 +10:00
Nyall Dawson
808464fed6
[composer] Disable atlas if coverage layer is removed from project
2014-09-20 12:46:30 +10:00
Nyall Dawson
993aa83306
[composer] Tweak calculation of total height of table (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
a0db6634f5
[composer] Fix crash on extend mode for multiframes (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
3ca416a620
[composer] Initial test suite for QgsComposerTableV2 (Sponsored by
...
City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Martin Dobias
de48dad6e9
Followup #10912 - detect cycles in joins and reject joins that would create cycle
...
Cycle would otherwise cause infinite loop when updating fields and it does not make sense
2014-09-16 12:11:15 +07:00
Martin Dobias
aafbc4ed5f
Use _r GEOS API in geometry import test
2014-09-14 16:41:23 +07:00
Martin Dobias
ffcd07b066
Joins: optionally use just a subset of fields from joined layer
2014-09-13 14:27:52 +07:00
Nyall Dawson
e7f3c823a5
Support #RRGGBBAA style color codes in QgsSymbolLayerV2Utils color parsing
2014-09-10 20:58:56 +10:00
Martin Dobias
071a5ec0c5
Fix #10912 (joined attributes are not correctly propagated in nested joins)
...
This commit makes QgsVectorLayerJoinBuffer listen to changes in fields
of joined vector layers in order to update the cache and inform parent layer
2014-09-09 20:17:51 +07:00
Nyall Dawson
2317f67451
[composer] Use proper prime and double prime symbols for grid annotations
...
(because good typography and cartography go hand in hand..!)
2014-09-08 19:53:59 +10:00
Martin Dobias
86b4fcc7be
Fix QgsLayerTreeModel naming conventions and update Python bindings
...
I was using a mixture of terms 'symbology items' and 'legend nodes' for the same thing which was confusing
2014-09-05 18:33:55 +07:00
Marco Hugentobler
ffcc4d8dcf
Add unit tests for geometry import (wkt,wkb,geos)
2014-09-03 16:36:05 +02:00
Nyall Dawson
b52d4f3a24
[composer] Fix failing grid tests
2014-09-03 22:10:39 +10:00
Nyall Dawson
c9e5341af4
[composer] Add some python tests for QgsComposerMapGrid
...
(sponsored by NIWA, New Zealand)
2014-09-03 21:23:57 +10:00
Nyall Dawson
6adab880da
[composer] Clean up map grid API, fix bug with grids not rearranging
...
correctly (sponsored by NIWA, New Zealand)
2014-09-03 21:21:21 +10:00
Nyall Dawson
f68b2586b9
[composer] Improvements to grid annotation string formatting (sponsored
...
by NIWA, New Zealand):
- Don't show directional suffix for 0 or 180 latitudes or 180 longitudes
- Add padded coordinate modes
- Fix precision errors causing minutes/seconds > 60
- Wraparound longitudes to restrict them to the -180 to 180 degree range
2014-09-03 20:40:30 +10:00
Nyall Dawson
52c519e64e
[composer] Add simple line border frame style for composer map
...
grids (sponsored by NIWA, New Zealand)
2014-09-03 20:38:51 +10:00
Nyall Dawson
53fa30f1bb
[FEATURE][composer] Add tick styles for frames. Options include
...
drawing ticks only inside the map frame, drawing ticks outside
the frame, or drawing ticks both inside and outside the frame.
(fix #6954 ) (Sponsored by NIWA, New Zealand)
2014-09-03 20:04:44 +10:00
Nyall Dawson
8544185985
[composer] Add tests for grids on specific sides (sponsored by
...
NIWA, New Zealand)
2014-09-03 19:55:40 +10:00
Nyall Dawson
48e1411e26
[composer] Remove raster layer from composer grid tests (sponsored
...
by NIWA, New Zealand)
2014-09-03 19:54:29 +10:00
Nyall Dawson
dc27e13ed3
[FEATURE][composer] New frame/annotations only grid style. Selecting
...
this style causes only the frame and annotations to be drawn, with no
grid lines or other markings over the map. (Sponsored by NIWA, New
Zealand)
2014-09-03 19:40:49 +10:00
Nyall Dawson
dc5f94d47b
[composer] Split composer map grid tests from composer map tests
...
(sponsored by NIWA, New Zealand)
2014-09-03 19:40:42 +10:00
Juergen E. Fischer
869c906999
indentation update, Q_FOREACH support in astyle, doxygen fix
2014-09-01 09:39:33 +02:00
Martin Dobias
812f671f82
Legend customization via layer node's custom properties
...
This allows for reordering, renaming and removal of legend nodes.
Composer either uses default project layer tree (auto-update on)
or customized layer tree (auto-update off).
2014-09-01 10:10:37 +07:00
Martin Dobias
8dba8af60d
Support for custom labels in symbol-v2 legend node
2014-09-01 10:10:36 +07:00
Martin Dobias
89941f6b0a
Moved QgsLayerTreeModelLegendNode (+derived classes) to a new file
2014-09-01 10:10:36 +07:00
Martin Dobias
6891aae19a
Use QgsLayerTreeModel as a source of data for legend rendering instead of QgsLegendModel
...
This is work in progress, customization of legend is not working yet
2014-09-01 10:10:36 +07:00
Martin Dobias
4fa1f45d56
Creation of legend items for map layers moved to QgsMapLayerLegend
2014-09-01 10:10:35 +07:00
Martin Dobias
fda50ede01
Move bits of legend rendering code into item classes + add rendering test
2014-09-01 10:10:35 +07:00
Nyall Dawson
9d18220138
[FEATURE][composer] Allow remote urls to be entered as picture path
...
for picture items, and automatically fetch them. Sponsored by the
City of Uster, Switzerland.
2014-08-19 21:35:14 +10:00
Nyall Dawson
f93e536a00
Add a simplified class for fetching HTTP network content
2014-08-19 20:49:10 +10:00
Matthias Kuhn
1b205be604
Fix python bindings for QgsRelation.fieldPairs()
2014-08-18 14:56:45 +02:00
Nathan Woodrow
978642addb
Allow + for string concat in QgsExpression
2014-08-18 22:15: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
Nyall Dawson
6312ff5853
Add method for finding matching schemes from a color scheme registry
2014-08-16 14:56:30 +10:00