2246 Commits

Author SHA1 Message Date
Juergen E. Fischer
e451b9ad6f indentation and spelling fixes 2016-07-08 12:59:38 +02:00
Matthias Kuhn
b83aab7d74 Save attribute table sort order persistently
Fix #15235
2016-07-07 17:35:55 +02:00
Martin Dobias
cca79aa2f4 Fix loss of transparency information in style dock (fixes #15229) 2016-07-07 14:01:28 +02:00
Nyall Dawson
fd88d91bde Use QgsCRSCache in more places 2016-07-05 15:59:15 +10:00
Nyall Dawson
867dbe53de Make QgsCRSCache thread safe 2016-07-05 13:51:00 +10:00
Nyall Dawson
339d061693 Use QgsCRSCache instead of looking up CRS by srs id (refs #15193) 2016-07-05 13:35:01 +10:00
Nyall Dawson
5c270ebeb0 Fix first range when exporting graduated renderer to sld (fix #15212) 2016-07-05 09:56:57 +10:00
Nyall Dawson
a240cd8f8e Replace doxygen MapComposer group with core/gui
Since the MapComposer group doesn't actually exist
2016-07-04 19:57:13 +10:00
Nyall Dawson
1a08f0ab53 Add full test suite for QgsMapLayerRegistry, also don't emit
any layer removed signals when no layers will actually be
removed
2016-07-04 12:26:25 +10:00
Nyall Dawson
6b3cb245a9 Cleanups to QgsMapLayerRegistry
- const correctness
- improve and clarify docs, remove outdated notes
- add some QGIS 3.0 todos
2016-07-04 12:26:25 +10:00
Matthias Kuhn
15c2f0a902 Make QgsMapLayer::name a Q_PROPERTY (#3259)
Make QgsMapLayer::name a Q_PROPERTY

And align setName / name / nameChanged

Deprecates setLayerName / layerNameChanged
2016-07-04 01:10:10 +02:00
Matthias Kuhn
c277e6e55e Fix tests, partially reverts ff1f9cf 2016-07-02 18:55:22 +02:00
Matthias Kuhn
ff1f9cf595 Doxymentation for QgsVectorLayer signals 2016-07-02 18:09:19 +02:00
Nyall Dawson
1729531773 Don't transform z coordinates by default
Since z coordinates can represent potentially any height
unit and reference point, it's not safe to assume that they
always represent height in metres relative to the ellipsoid.

Instead, leave z values untouched by default with geometry
transforms, and make transforming z an optional parameter

Refs #14702
2016-06-30 07:38:13 +10:00
Nyall Dawson
c3c5c43190 Avoid style dock flashing when editing layers
Also prevent a lot of duplicate style dock updates, and fix
the style dock losing connection to layer style changes
2016-06-27 14:03:36 +10:00
Nyall Dawson
9f0ae9b408 Make outline only simple markers work with categorised/graduated
etc renderers (fix #15132)
2016-06-27 10:17:54 +10:00
Nyall Dawson
e6034e9a1e Fix vector field symbol does not use subsymbol color (fix #15130) 2016-06-26 17:40:50 +10:00
Martin Dobias
8fcac87f9d Fix API break of QgsMapLayer class introduced in 2.16
This breakage was resulting in a Python error when using plugin layers
due to calls to pure virtual method writeStyle()
2016-06-22 20:10:17 +02:00
Matthias Kuhn
679cab2cd4 Followup dab157f 2016-06-21 14:25:58 +02:00
Matthias Kuhn
dab157f70f Minor fixes and doxymentation for QgsSnappingUtils 2016-06-21 11:46:18 +02:00
Sandro Santilli
a211c982cf Allow to undo/redo composer grouping/ungrouping
Fixes #11371 (crash on ungrouping after moving the group) and more
undo/redo related issues.

Enable pending test for the crash (now passing) and add many more
undo/redo related ones (including signals testing).

Includes a new QgsGroupUngroupItemsCommand class
and its SIP bindings.
2016-06-17 13:41:56 +02:00
Nyall Dawson
6568da6ce0 Rename arrow symbol head width/height to length/thickness
Width/height naming is dependant on line direction, so for
clarity rename them to something which doesn't depend
on direction (fix #15002)
2016-06-14 12:54:49 +10:00
Nyall Dawson
3a34368efb Cleanup qgsproject.h/.cpp
- Conslidate doxygen in qgsproject.h
- Remove TODOs from docs, move to comments
- Cosmetic formatting changes to match QGIS standards
- Remove doxygen groups (we sort doxygen by name now)
- Clarified and improved some docs
- Remove mega outdated XML samples
2016-06-14 10:24:20 +10:00
Nyall Dawson
0a5ad73581 Invalid join cache when layer is modified (fix #11140) 2016-06-13 22:08:55 +10:00
Matthias Kuhn
7c72fefd7c Fix network cache configuration
Fix #14990
2016-06-12 13:48:30 +02:00
Nyall Dawson
df0d5969aa Fix virtual fields which depend on other virtual fields may not be
calculated in some circumstances (fix #14939)
2016-06-10 11:18:25 +10:00
Nyall Dawson
1bc17e6c4f Default to requesting all attributes for python expression functions
Fix #14985
2016-06-10 10:03:34 +10:00
Juergen E. Fischer
03de74dc89 fix typo 2016-06-09 11:13:11 +02:00
Matthias Kuhn
a03e28bb5b Fix sip bindings 2016-06-07 22:00:02 +02:00
Matthias Kuhn
c07f02d6dc QgsAbstractGeometryV2::wkbType always returns a valid type 2016-06-07 10:37:20 +02:00
Matthias Kuhn
fdb28c09aa More string comparison fixes 2016-06-07 10:37:20 +02:00
Nyall Dawson
7a8d9dd506 Add missing proxies for legend check behaviour to subrenderers
for inverted polygon and displacement renderers
2016-06-07 15:18:36 +10:00
Nyall Dawson
b2c43cb997 Fix inverted polygons and displacement renderer don't allow right
click on legend items (fix #14966)
2016-06-07 15:05:30 +10:00
Nyall Dawson
b32afce79d Fix inverted polygon & displacement renderer don't show
color wheel in legend menu

Move embedded renderer handling to QgsFeatureRendererV2 and
add support for embedded renders to legend context menu

Fix #14967
2016-06-07 14:49:45 +10:00
Nyall Dawson
94e1d5e52e Fix crash when using inverted polygons with heatmap renderer
Add methods to QgsRendererV2AbstractMetadata and QgsRendererV2Registry
to control renderer compatiblity by layer type. Should make it
easier to avoid this recurring bug popping up again in future.

Also add unit tests for QgsRendererV2Registry

Fix #14968
2016-06-07 13:33:31 +10:00
Nyall Dawson
179a92cd65 [effect] fix issue with svg marker and antialiasing (fixes #14960)
Credit for original patch to @nirvn
2016-06-07 10:08:04 +10:00
Sandro Mani
d984148efe Have QgsRasterDrawer::draw check for interrupted rendering, reduce raster block tile dimensions, to greatly enhance responsiveness when dealing with reprojected raster layers 2016-06-07 07:26:34 +10:00
Nyall Dawson
25052dc54f Add missing bindings 2016-06-07 07:26:34 +10:00
Sandro Mani
f077f1a560 Fix QgsCurvePolygon sip bindings 2016-06-07 07:26:34 +10:00
Nyall Dawson
768fc2c790 Use QgsCRSCache in more places
Forward port from sourcepole/kadas-albireo
2016-06-07 07:26:34 +10:00
Matthias Kuhn
e80e54162f Show correct feature count with rule that requires geometry
Fix #14758
2016-06-06 13:59:18 +02:00
Nathan
6a4556ddd0 Add sip conversions for profile times 2016-06-05 14:16:30 +10:00
Matthias Kuhn
95f81391d3 sip bindings 2016-06-03 15:13:42 +02:00
Sandro Mani
bded2b518c Remove QgsBillboardRegistry 2016-06-03 12:58:03 +02:00
Martin Dobias
9c7dbb9e09 [FEATURE] Layer tree embedded widgets
This allows definition of widgets embedded into layer tree for individual layers in the layer properties dialog (in new Legend tab). The idea is to have a way to quickly access to some actions that are often used with a layer.

The implementation comes with transparency widget, in the future there may be more standard widgets coming, e.g. to setup filtering, selection, style or other stuff. The API allows plugins to register their own widgets, which will be useful for various domain specific plugins to assign custom widgets to layers they manage.
2016-06-03 10:32:55 +02:00
Matthias Kuhn
000eb072b0 Add support for adding custom properties to providers 2016-06-03 10:02:38 +02:00
Nathan
f8715444fb [feature] Add runtime profiler class to profile code 2016-06-03 17:49:42 +10:00
Nyall Dawson
384a280f71 [FEATURE] Add hide column, set column width and autosize to
attribute table header right click menu
2016-06-03 15:04:01 +10:00
Nyall Dawson
5dc1c5239b Fix build 2016-06-03 15:04:01 +10:00
Nyall Dawson
4c1812a9f6 [FEATURE] Remember widths for attribute table columns
If you resize columns, the width will be restored when next
opening the attribute table for that layer.
2016-06-03 12:24:28 +10:00