4978 Commits

Author SHA1 Message Date
Matthias Kuhn
ba5cfc356d Add RAII class QgsReadWriteLocker 2018-09-06 07:46:23 +02:00
Matthias Kuhn
17279a42e2 Only include qgsvectorlayer.h where required 2018-09-05 08:54:11 +02:00
Matthias Kuhn
ded7978fab
Merge pull request #7790 from m-kuhn/featureid
Move QgsFeatureId to own header
2018-09-04 21:31:00 +02:00
Matthias Kuhn
507649ddbd Readd qgsfeature.h to CMakeLists.txt 2018-09-04 16:19:26 +02:00
Matthias Kuhn
db45686804 Adjust core_auto.sip 2018-09-04 15:55:29 +02:00
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
Nyall Dawson
a717b85e2e [FEATURE][processing] New modeler parameter widget
A new widget which handles parameter values for child algorithms
within a model. Instead of the previous approach of requiring
individual widget wrappers to handle creation of a suitable
model widget, we do all this automatically for them.

This widget uses a stacked widget with a toolbutton to select
the parameter's source, instead of the previous combo box approach
(which didn't scale well for large models). I.e. users select
first whether the value is taken from a static value, a
model input, or an output from a different child algorithm. The
widget then changes appearance and behavior based on this
choice.

Additionally, a new option is present for all parameters
of using a "precalculated expression". This expression is
evaluated once before the child algorithm is executed
and used during the execution of that algorithm.
2018-09-04 19:06:07 +10:00
Alessandro Pasotti
aae41c068f Fix documentation for editFormConfig
It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.
2018-09-04 07:57:57 +02:00
nirvn
48b18d4c6c [processing] add parameterAsInts function 2018-09-04 10:07:07 +07:00
nirvn
13ecaa4190 [needs-docs][processing] Add a multiple selection mode to the band parameter 2018-09-04 10:07:07 +07:00
Peter Petrik
f0ede773c2 [mesh] [feature] allow to choose different vector and scalar dataset 2018-09-03 19:41:07 +10:00
Denis Rouzaud
3f85938479
Merge pull request #7752 from 3nids/project_layers
Legend tree in 'Identify Layers'
2018-09-03 11:10:41 +03:00
Matthias Kuhn
74fb0fabc6 Move QgsFeatureId to own header 2018-09-03 07:54:37 +02:00
Nyall Dawson
3572ea80bd Make QgsXmlUtils handle storing/retrieving QgsProperty values 2018-09-03 05:47:12 +10:00
Alessandro Pasotti
bb01ef3456 Add qgsPermissiveToLongLong 2018-09-01 18:01:23 +02:00
Denis Rouzaud
6b66b2048a switch to legend tree for Identify Layers tab in project properties
also add a 'searchable' option for vector layers (they won't be searched in the locator)
2018-08-31 14:14:14 +03:00
Nyall Dawson
c3fd631776 Fix dox 2018-08-31 13:50:13 +10:00
Nyall Dawson
5e1d1a4c8c Deprecate vector layer setter/getter within QgsSymbol
It's not used, and potentially very dangerous
2018-08-31 13:50:13 +10:00
Nyall Dawson
e63fedfa36 Improve/extend QgsSymbol docs 2018-08-31 13:50:13 +10:00
Peter Petrik
d7afb710d7 [mesh] [feature] add opacity slider to mesh contours settings 2018-08-28 09:17:31 +02:00
Mathieu Pellerin
f1fdbbbbf0 Fix references to contributors.json (#7722) 2018-08-27 23:12:40 +03:00
Nyall Dawson
c8191ffd50 Allow unformatted preview text for expression results 2018-08-27 14:43:02 +10:00
Matthias Kuhn
2a31d38613 Add copy constructor dox 2018-08-24 18:01:47 +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
2c0de10b57 Fix code style 2018-08-24 07:56:58 +02: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
063ccf4283 Move geometry fixes to separate class 2018-08-23 18:38:09 +02:00
Matthias Kuhn
f69e58f261 Revert to specific setters and getters 2018-08-23 14:24:42 +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
Nyall Dawson
51a63b98fb Allow QgsMapLayerProxyModel to be filtered by string 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
Matthias Kuhn
37a49e2bfe Fix typo 2018-08-22 07:28:15 +02:00
Matthias Kuhn
5435b193a2 Setter for GeometryOptions and not individual props 2018-08-22 07:01:51 +02:00
Matthias Kuhn
1d6d4cb11c Add missing docstrings 2018-08-21 15:14:27 +02:00
Matthias Kuhn
256876eb45 Add autofixers for geomtries
* Snap to grid
 * Remove duplicate nodes
2018-08-21 15:14:27 +02:00
Martin Dobias
2e56fadcd1 Add 3D map print layout item
So far this is just support in the layout framework, not yet exposed to the GUI.
2018-08-21 12:59:47 +02:00
Martin Dobias
26631b3d44 Rename faceIsActive() to isFaceActive() 2018-08-20 11:56:27 +02:00
Peter Petrik
419ec1f736 [mesh] fix bug in rendering datasets with inactive faces 2018-08-20 11:56:27 +02:00
Nyall Dawson
aa512636f0 Deprecate QgsFeatureRequest::(set)connectionTimeout, replace with
more generic QgsFeatureRequest::timeout
2018-08-18 16:53:32 +10:00
Nyall Dawson
2a12c6feeb New class QgsScopedProxyProgressTask, which makes it easy
to create proxy progress tasks and have their lifetime
managed automatically.
2018-08-18 08:42:34 +10:00
Martin Dobias
6d1e420c71 min/max to minimum/maximum renaming 2018-08-17 09:34:41 +02:00
Martin Dobias
d91e12d417 Fix missing min/max values for classification when changing datasets
The min/max values were stored in the color ramp shader, but to my surprise
these values were never persisted or copied: pseudo-color raster renderer
has a separate storage for the min/max values, so we need that for mesh renderer
as well.

The QgsRasterShaderFunction is not really useful, and QgsColorRamp should not
be derived from it, making things just more confusing.
2018-08-17 09:34:41 +02:00
nirvn
f4a0e743fa Implement a QgsProviderRegistry decodeUri function + test 2018-08-16 16:46:01 +07:00
Martin Dobias
f37aa8c6e3
Merge pull request #7613 from wonder-sk/mesh-gui-fixes
Mesh layer fixes and improvements
2018-08-16 09:28:19 +02:00
Nyall Dawson
4930061b21 [processing] Fix incorrect OGR warnings when loading raster layer results
Fixes #19597
2018-08-16 06:37:18 +10:00
Nyall Dawson
21693bd4a4 Add a QgsTask subclass for proxying progress reports from a
blocking operation via task manager

Allows use of the task manager progress reporting system from
operations which are blocking (and cannot be made background
tasks!), e.g. layout exporting, project loading.
2018-08-16 06:22:16 +10:00
Martin Dobias
ca657179f9 Address Peter's points from review 2018-08-15 14:42:45 +02:00
Nyall Dawson
c6a91dab09 [FEATURE] Use native interpolate point method instead of GEOS method
Because:
- Exactly follows curves and doesn't require segmentizing input geometry
- Also interpolates z/m values if they are present in input geometry
- Is faster
2018-08-15 14:01:59 +10:00