24441 Commits

Author SHA1 Message Date
Nyall Dawson
1b773165f2 [composer] Update sip bindings, add missing sip bindings for
QgsComposerMapGrid (sponsored by NIWA, New Zealand)
2014-09-03 21:22:29 +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
4eeb81880b [composer] Deprecate a bunch of map grid calls (sponsored
by NIWA, New Zealand)
2014-09-03 21:09:29 +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
8c091bbda5 [composer] Fix N/S and E/W are reversed in grid annotation strings
(sponsored by NIWA, New Zealand)
2014-09-03 20:39:42 +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
1e113d68df [composer] Some small tweaks to grid defaults and ui (sponsored
by NIWA, New Zealand)
2014-09-03 20:22:27 +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
a433d4cdd7 [FEATURE][composer] Add options for controlling which sides of
the map a grid frame is drawn (sponsored by NIWA, New Zealand)
2014-09-03 19:48:37 +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
9af4efd325 german translation update 2014-09-02 18:37:11 +02:00
Jürgen Fischer
c5bcbaf4d9 Merge pull request #1574 from mhugent/getFeatureExpression
Get feature expression
2014-09-02 17:20:33 +02:00
Marco Hugentobler
dab5ff95ff Add function help for getFeature 2014-09-02 16:21:45 +02:00
Denis Rouzaud
f97d5e319e [custom widgets] adds filter line edit 2014-09-02 15:15:16 +02:00
Marco Hugentobler
478e40be00 [FEATURE]: Add getFeature function in Expression 2014-09-02 13:20:32 +02:00
Nyall Dawson
a64e7b134c More const correctness, fix crash with atlas 2014-09-02 19:31:43 +10:00
Nyall Dawson
14abd459ac Merge pull request #1572 from jef-n/store-blend-mode
Save blendmode/composition mode in project file
2014-09-02 19:27:18 +10:00
Juergen E. Fischer
6d4dee914e Save blendmode/composition mode in project file 2014-09-02 10:31:03 +02:00
Denis Rouzaud
368755a51a fix sorting of map layer combo box and more const correctness 2014-09-02 08:10:32 +02:00
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Denis Rouzaud
5c5deec4a0 SIP file for new date time edit 2014-09-01 15:39:26 +02:00
Denis Rouzaud
834c630f54 added new QgsDateTimeEdit to custom widgets 2014-09-01 15:39:19 +02:00
Denis Rouzaud
01b290c4d4 new edit widget for date/time capable of setting null dates 2014-09-01 15:39:09 +02:00
Nyall Dawson
a4377ae029 [composer] Support drag and drop restacking of items via item panel (fix #11058) 2014-09-01 19:50:54 +10:00
Denis Rouzaud
5b1a516f2e more flag operators declaration in SIP, better use of flags in data defined button 2014-09-01 10:51:06 +02:00
Denis Rouzaud
8a65115100 [SIP] add missing operator for flags 2014-09-01 10:40:37 +02:00
Juergen E. Fischer
596dd6b8af german translation update 2014-09-01 09:42:17 +02:00
Juergen E. Fischer
869c906999 indentation update, Q_FOREACH support in astyle, doxygen fix 2014-09-01 09:39:33 +02:00
Denis Rouzaud
252dc377a4 [map layer actions] action for group of features, rename availability to target (flags), only emit signal for defined target"
Conflicts:
	src/gui/qgsmaplayeractionregistry.cpp
	src/gui/qgsmaplayeractionregistry.h
2014-09-01 08:22:23 +02:00
Nyall Dawson
b5835972bb [composer] Add zoomToExtent for QgsComposerMap, allows easily fitting a set extent into the map item without altering the item's shape 2014-09-01 16:05:27 +10:00
Martin Dobias
dd78f099ab Fix doxygen warnings, fix missing bindings 2014-09-01 11:05:51 +07:00
Martin Dobias
45d4793c4d Followup fix for #11006 (spotted by Nyall - thanks) 2014-09-01 10:10:38 +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
d3e24c75b1 Added header to new files 2014-09-01 10:10:38 +07:00
Martin Dobias
216ecab1fc More Python wrapper updates + fixes 2014-09-01 10:10:37 +07:00
Martin Dobias
b04199a4af Revert previous changes to QgsLegendModel and its items 2014-09-01 10:10:37 +07:00
Martin Dobias
68ed52e963 API fixes, added missing python wrappers 2014-09-01 10:10:37 +07:00
Martin Dobias
ee3d67bcf3 Update Python bindings 2014-09-01 10:10:37 +07:00
Martin Dobias
514c49d176 Improve docs for QgsLegendSymbolItemV2 2014-09-01 10:10:37 +07:00
Martin Dobias
872fe7aff1 Introduce scale-based filtering of legend nodes (in WMS) 2014-09-01 10:10:37 +07:00
Martin Dobias
1406febee9 Fix WMS with custom rule / no labels 2014-09-01 10:10:37 +07: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
3021bdafb0 Work in progress: Make composer legend widget work with QgsLayerTreeModel 2014-09-01 10:10:37 +07:00
Martin Dobias
e6c6aa2137 Layer tree model support replacement of layer tree + layer node handles removal of layer cleanly 2014-09-01 10:10:36 +07:00
Martin Dobias
0fc7fc7b07 New flag to disable checkboxes for legend nodes in layer tree model 2014-09-01 10:10:36 +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