49702 Commits

Author SHA1 Message Date
Matthias Kuhn
308b16b163 range-based for loops 2018-08-24 13:24:13 +02:00
Matthias Kuhn
932e70a756 QgsRelation::isValid will return false if layers are deleted 2018-08-24 13:24:13 +02:00
Matthias Kuhn
86e1382fb0 Make QgsRelation implicitly shared 2018-08-24 13:24:13 +02:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Matthias Kuhn
9dc387fb87 Doxygen since 2018-08-24 11:33:59 +02:00
Matthias Kuhn
61c3fe4a9d
Merge pull request #7696 from m-kuhn/initializeCaptureModeNone
Initialize capture mode none
2018-08-24 11:28:54 +02:00
Mathieu Pellerin
bf0962fa9c
[raster] Remove preexisting pyramid files when over-writing a raster (#7677)
(failing to do so can lead to new raster relying on old pyramid
files, corrupting the rendering)
2018-08-24 15:39:16 +07:00
Matthias Kuhn
04cdc9bf30
Merge pull request #7694 from signedav/trans_extends
Improvements of translation-featurs of .qgs project data
2018-08-24 08:43:13 +02:00
Matthias Kuhn
dea911dcbc Simplify code 2018-08-24 08:41:46 +02:00
Matthias Kuhn
b6fbdec739 Initialize capture mode from layer
When the captureMode is set to CaptureNone, it should be initialized from the layer on create and not only on the first layer change.
2018-08-24 08:41:46 +02:00
Matthias Kuhn
2c0de10b57 Fix code style 2018-08-24 07:56:58 +02:00
Matthias Kuhn
cc424f9eaa Fix compilation 2018-08-24 06:10:12 +02:00
Luigi Pirelli
3b29e59885 small fix in parameter description removing spaces 2018-08-24 06:18:51 +10:00
Luigi Pirelli
819a82ad54 added SAGA watershed segmentation execution test 2018-08-24 06:18:51 +10:00
Luigi Pirelli
ad96be96a9 Fix Thershold parameter for SAGA Watershed algorithm 2018-08-24 06:18:51 +10:00
Chris Mayo
2a72eda514 Improve documentation of QgsRasterLayer constructor
- baseName is just passed on to the parent constructor to be the display
   name, use a literal string in the example to avoid misunderstanding.

 - Remove stray bullet.
2018-08-24 06:16:57 +10:00
Matthias Kuhn
907fb55f82 Update tests to new API 2018-08-23 18:38:24 +02:00
Matthias Kuhn
063ccf4283 Move geometry fixes to separate class 2018-08-23 18:38:09 +02:00
signedav
5ef079970d Value Relation implementation
Values in the Value Relation widgets can be translated now - means changed.
So the setting-change is made to get translated values over another layer.
2018-08-23 17:51:53 +02:00
Matthias Kuhn
d93d585b4a Rename checkbox 2018-08-23 17:22:52 +02:00
Matthias Kuhn
d24ffbc401 Add guard 2018-08-23 17:21:18 +02:00
Matthias Kuhn
51ec333199
Merge pull request #7688 from m-kuhn/array_filter
Add array_filter expression function
2018-08-23 15:54:21 +02:00
Matthias Kuhn
d9e59e28a9 Concentration please 2018-08-23 15:14:24 +02:00
Matthias Kuhn
f69e58f261 Revert to specific setters and getters 2018-08-23 14:24:42 +02:00
Matthias Kuhn
0b96fd9246
Merge pull request #7691 from asiersarasua/master
[i18n] Make string translatable
2018-08-23 14:16:33 +02:00
Matthias Kuhn
283c34ed04 Adjust array representation in help 2018-08-23 14:13:32 +02:00
Matthias Kuhn
5e2a523f60 Fix docstring 2018-08-23 14:13:05 +02:00
Nyall Dawson
de30dc981d Named variables for array_foreach 2018-08-23 21:15:32 +10:00
Nyall Dawson
bb4699e2ea More code tweaks 2018-08-23 21:15:32 +10:00
Nyall Dawson
89cd7858e5 Used named parameters for with_variable function 2018-08-23 21:15:32 +10:00
Nyall Dawson
34bb08c156 Minor performance tweak 2018-08-23 21:15:32 +10:00
Nyall Dawson
c7eafc63c2 Fix potential crash when preparing with_variable and no context is set 2018-08-23 21:15:32 +10:00
assar
9bf7c9ec14 [i18n] Make string translatable 2018-08-23 13:05:27 +02:00
Matthias Kuhn
61faf797ca Test fixes 2018-08-23 11:32:00 +02:00
Mathieu Pellerin
6196fd3753
[vector writer] Return actual layer name used
This is needed as some OGR drivers will modify the provided layer name
(e.g. the KML driver replaces dashes with underscores).
2018-08-23 15:02:28 +07:00
Matthias Kuhn
db99c77a89 Less manual memory management 2018-08-23 09:28:21 +02:00
Matthias Kuhn
901effca01 Named parameters 2018-08-23 09:21:36 +02:00
Matthias Kuhn
624ac706dd Add array_filter tests 2018-08-23 09:21:26 +02:00
Matthias Kuhn
81587e10dc Add missing class declaration 2018-08-23 09:21:19 +02:00
Alessandro Pasotti
64e817482a
Merge pull request #7680 from elpaso/bugfix-19651-load-style-from-qml
Load style from QML when provider supports stored styles
2018-08-23 08:05:04 +02:00
Matthias Kuhn
edc272481f Add array_filter expression function 2018-08-23 07:02:41 +02:00
Etienne Trimaille
0a20621191 [FEATURE] add foreach expression for arrays 2018-08-23 12:32:32 +10:00
Nyall Dawson
2d5499bfd1 [layouts] Default to more modern scalebar settings
Use 2 segments/0 left segments by default
2018-08-23 06:39:32 +10:00
Nyall Dawson
8c5938a967 [layouts] Add search filter box to 'add layer to legend' dialog
Helps with finding specific layers in large projects
2018-08-23 06:39:12 +10:00
Nyall Dawson
16b58b97f6 Unit tests for QgsMapLayerProxyModel 2018-08-23 06:39:12 +10:00
Nyall Dawson
51a63b98fb Allow QgsMapLayerProxyModel to be filtered by string 2018-08-23 06:39:12 +10:00
Nyall Dawson
5582a57918 [layouts] Sort layers by name in 'add layer' to legend dialog
Because it's hard to find specific layers when the layers are
listed in project order
2018-08-23 06:39:12 +10:00
Denis Rouzaud
ea2ab53482 fix QgsGeometry API doc for 3.x for get/set methods 2018-08-23 06:38:58 +10:00
Juergen E. Fischer
a3cc83a399 fix translation string (followup 9d5d49eb6) 2018-08-22 21:16:22 +02:00
Juergen E. Fischer
6b5d645440 fix b37832ab1 2018-08-22 20:33:53 +02:00