Martin Dobias
8831f19b79
Fix missing indicators after they are moved to a different group
...
The issue was that during drag&drop, we first connect to layer's signal
for the second time, but then the disconnect() call on removal of the original
layer node would disconnect all connections (not just one). For that reason
now we only connect/disconnect when the layer is in the tree only once.
2018-09-27 00:46:37 +02:00
Alessandro Pasotti
51574069a0
Fixes blocking if the edit in place functionality is used in the locator bar (with ef) on an non-modifiable layer
...
Fixes #19950
2018-09-26 14:19:58 +02:00
Martin Dobias
5047571c13
Move recursive "collect layers" algorithm to QgsLayerTreeUtils + tests
2018-09-26 09:55:37 +02:00
Martin Dobias
ea1716261a
Make sure that also groups with "required" layers cannot be removed
...
Fixes an unreported bug where it was possible to select a layer tree group
and remove even when it contained required layers.
When removing layers/groups, the following checks will now also recursively
test layers and not just directly selected layers:
- test for layers with unsaved changes
- test for layers with active tasks running in background
2018-09-26 09:55:37 +02:00
Alessandro Pasotti
6aa00b14f3
Merge pull request #8022 from elpaso/bugfix-19831-db-manager-import-srid
...
[dbmanager] Fixes DB Manager does not read SRID automatically
2018-09-26 08:49:32 +02:00
Harrissou Sant-anna
346073a2a5
Add more tags to find the "Line substring" algorithm
2018-09-26 08:07:28 +10:00
Nyall Dawson
6e03253143
[processing][gdal] Fix empty fid is passed if FID option is not set
...
Also add full range of unit tests for OgrToPostGis algorithm.
Fixes #19947
2018-09-26 08:07:09 +10:00
Alexandre Neto
80723e89fd
Adds .qgz files on --help description
...
Lists .qgz files in the possible project files to open from the command line
2018-09-26 04:27:56 +10:00
Nyall Dawson
3d70f1b51d
[layouts] Fix is_layer_visible does not work within layout map items
2018-09-26 04:27:27 +10:00
Nyall Dawson
0f62685963
Fix is_layer_visible to allow direct layer objects and handle removed layers
2018-09-26 04:27:27 +10:00
Nyall Dawson
f29c48b99b
Dox
2018-09-26 04:27:08 +10:00
Nyall Dawson
fd1d6c1037
Add more descriptive error messages for raster calculation failure
...
With unit tests
2018-09-26 04:27:08 +10:00
Nyall Dawson
f4bbb147b2
Dox++
2018-09-26 04:27:08 +10:00
Nyall Dawson
d26f25cf94
Deprecate unused QgsProcessingAlgorithm::helpString method
2018-09-26 04:26:49 +10:00
Nyall Dawson
844a3fb1b1
[processing] Allow help url to be set for models within help edit dialog
...
Refs #18767
2018-09-26 04:26:49 +10:00
Nyall Dawson
95d68e9172
[processing] Default to hiding help button for algorithms
...
And require that showing help is opt-in. Apart from a handful
of built-in providers, most providers will not have help pages
available within the QGIS documentation (including model and
script algorithms). Accordingly, we should hide the help button
by default and only show it for these selected providers.
Note that 3rd party algorithms can still specify custom helpUrl
urls, in which case the button WILL be shown.
2018-09-26 04:26:49 +10:00
Nyall Dawson
e2082a0935
[processing] Fix modeler help/description generation, allow setting
...
of model short description text
Fixes #18767
2018-09-26 04:26:49 +10:00
Nyall Dawson
aa55de8ef4
Fix advanced parameter panel incorrect margins in processing algorithm dialog
2018-09-26 04:26:27 +10:00
Nyall Dawson
6d1a9295f7
Use correct stylesheet for processing dialogs
2018-09-26 04:26:27 +10:00
Matthias Kuhn
afd7b92abb
Followup 5f33137, C++ is not Python
2018-09-25 18:24:13 +02:00
Stéphane Brunner
981aea71cd
Merge pull request #8006 from sbrunner/print-error
...
[Server] Print an error message, on project load error
2018-09-25 15:49:10 +02:00
Alessandro Pasotti
f7f70bfb03
[dbmanager] Fixes DB Manager does not read SRID automatically
...
Fixes #19831
2018-09-25 14:50:41 +02:00
Nyall Dawson
517b50c66d
Capitalization
2018-09-25 22:01:39 +10:00
Stéphane Brunner
5f33137c83
Print an error message, on project load error
2018-09-25 13:22:15 +02:00
Alessandro Pasotti
774e7341bb
Merge pull request #8017 from elpaso/geopackage-vacuum-from-file-browser
...
[browser] Allow GPKG VACUUM from file browser
2018-09-25 10:51:54 +02:00
Loïc Bartoletti
ad94cce3b8
layerType -> mLayerType
2018-09-25 18:13:50 +10:00
Loïc Bartoletti
c0ff2f48f1
Fixes #18252 - Shape digitize (and circular string) tools do not show
...
rubberband fill color when drawing polygons
2018-09-25 18:13:50 +10:00
Alessandro Pasotti
2df58fd8e6
[browser] Allow GPKG VACUUM from file browser
2018-09-25 09:51:21 +02:00
Alessandro Pasotti
e8c98f8915
Merge pull request #8002 from elpaso/make_features_compatible
...
Port makeFeaturesCompatible from python to C++
2018-09-25 09:43:10 +02:00
Alessandro Pasotti
b34c461dc1
Drop const on makeFeatureComptible returned values
2018-09-25 08:24:49 +02:00
Alessandro Pasotti
a8dbb5395c
Some minor changes
...
- QgsVectorLayer *
- make a const copy of a const container
- typo and comments
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
fb47dd930d
Typo
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
8d82ce86cc
makeFeatureCompatible on a single input feature
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
7e8592bca2
Const correctness (because it's not an API break)
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
3157af2eaa
Revert const on createFeature
...
just because it would be an API break
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
930c3f8e45
Port makeFeaturesCompatible to C++
...
as: QgsVectorLayerUtils::makeFeaturesCompatible
With tests.
2018-09-25 08:17:14 +02:00
Nyall Dawson
5173744818
Also handle multi-partition drive insertion/removal
2018-09-25 13:22:01 +10:00
Nyall Dawson
af4a1df90d
[browser] Correctly show drives inserted (or removed!) after QGIS launch
...
Fixes #14481 , #9843
2018-09-25 13:22:01 +10:00
Nyall Dawson
035c78be3c
Add native platform interface for usb storage events
...
Allows native interfaces to send a signal when a USB storage device
is inserted/removed
Refs #14481
2018-09-25 13:22:01 +10:00
Nyall Dawson
c817e38be2
[processing] Fix an exception in modeler when editing a model in
...
which a child algorithm later has a new parameter added
2018-09-25 12:48:26 +10:00
Nyall Dawson
11991c5297
Fix capitalization
2018-09-25 12:41:12 +10:00
Nyall Dawson
ea2c16dd64
[processing][gdal] Dissolve field name should be optional
2018-09-25 11:14:33 +10:00
Nyall Dawson
a3af1f9f3a
[processing][gdal] Add unit tests for Dissolve algorithm
...
Also:
Thanks to @agiudiceandrea:
Fixes #19900
Statistics were erroneously computed on the dissolve field, rather than on the statistic attribute field as it should be.
Fixes #19307
Handle filenames with white spaces (in the same way as Buffer, OffsetCurve, OneSideBuffer, PintsAlongLines algs).
2018-09-25 11:14:33 +10:00
Nyall Dawson
6e06c32a10
[processing] Fix crash when an algorithm dialog is left open and
...
processing options are changed
Make sure the algorithm dialogs use their own copy of algorithms,
instead of the copies owned by the processing registry. Opening
processing options triggers a full reload of providers, deleting
all existing algorithm instances from the registry first.
2018-09-25 10:32:20 +10:00
Nyall Dawson
c2dab4ff18
[processing] Use standard dock margins for results dock
2018-09-25 10:31:15 +10:00
Juergen E. Fischer
52a80d895c
include appinfo metadata file in translation
2018-09-25 02:10:16 +02:00
Leandro Stanger
8e845b9a96
Update org.qgis.qgis.appdata.xml
2018-09-25 08:55:58 +10:00
Leandro Stanger
b0364e6b97
Adding translations to appdata
2018-09-25 08:55:58 +10:00
Nyall Dawson
eacf4adb30
Dox++
2018-09-25 08:49:21 +10:00
Nyall Dawson
cc53af296c
Fix errors when saving features with virtual fields present
...
Fixes #18784
2018-09-25 08:49:21 +10:00