49963 Commits

Author SHA1 Message Date
Nyall Dawson
d449d41503 Don't crash when writing invalid variants via QgsXmlUtils 2018-09-05 08:11:48 +10:00
Nyall Dawson
2041cad0c0 [wfs] Fix some race conditions 2018-09-05 07:55:19 +10:00
Nyall Dawson
0b4694fbee More efficient case insensitive string comparison 2018-09-05 07:54:35 +10:00
Nyall Dawson
3014bbf357 Fix build warnings 2018-09-05 05:54:11 +10: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
Nyall Dawson
8af1c3f9f0 Respect nodata values in ::sample() for gdal provider 2018-09-05 05:24:51 +10:00
Matthias Kuhn
b85f1ed269 One more forward declaration 2018-09-04 20:49:25 +02:00
Harrissou Sant-anna
34632714a2 Remove "fix geometries" algorithm advice from the filter vertices description
given that it actually drops M values
2018-09-05 04:10:43 +10:00
Matthias Kuhn
f85d1c1657 Sometimes we still need to include qgsfeature.h 2018-09-04 20:02:40 +02:00
Matthias Kuhn
d2d348b273 Add forward declaration 2018-09-04 19:45:59 +02:00
Matthias Kuhn
cf5523f84c Add missing declaration 2018-09-04 19:08:11 +02:00
Luigi Pirelli
580ecafa32
Merge pull request #7396 from luipir/rastercalculator_model_fix
[processing] Rebirth RasterCalculator in Modeler. Fixes #19302
2018-09-04 18:13:04 +02:00
Matthias Kuhn
907fe38448 Fix typo 2018-09-04 17:48:37 +02:00
Matthias Kuhn
51fd516c94 Add missing qgsrectangle.h includes 2018-09-04 17:19:04 +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
2015defa12 Add missing qgspointxy.h includes 2018-09-04 15:54:29 +02:00
Luigi Pirelli
30eddf5a20 remove unuseful %s 2018-09-04 15:47:08 +02:00
Luigi Pirelli
7d1471a715 more compact if 2018-09-04 15:46:42 +02:00
Matthias Kuhn
26fee72881 Include qgsgeometry.h where required 2018-09-04 15:20:59 +02:00
Juergen E. Fischer
42aea6c97c update OSGeo4W deps in INSTALL only in release branch 2018-09-04 15:04:15 +02:00
Juergen E. Fischer
9d36c4c28e also accept uppercase extensions (fixes #19766) 2018-09-04 15:04:15 +02:00
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
Matthias Kuhn
99c4b59a97 Include qgis_sip.h 2018-09-04 13:49:35 +02:00
nirvn
8398aae04b [needs-docs][processing] Use input layer data type for gdal algorithms
when appropriate:
- warp (i.e. reproject)
- translate (i.e. file format conversion)
- rearrange bands
- clip by extent/mask
2018-09-04 16:20:03 +07:00
Nyall Dawson
8bae311a65 Use enum instead of raw stacked widget indices 2018-09-04 19:06:07 +10:00
Nyall Dawson
918be1f2a9 Fix some warnings 2018-09-04 19:06:07 +10:00
Nyall Dawson
d563034583 Address review comments 2018-09-04 19:06:07 +10:00
Nyall Dawson
3c2499ba95 Add some notes on deprecated class handling 2018-09-04 19:06:07 +10:00
Nyall Dawson
e76b761dd0 Correctly associate layer with dynamic properties 2018-09-04 19:06:07 +10:00
Nyall Dawson
8082497724 Fix evaluation of Python wrapper values 2018-09-04 19:06:07 +10:00
Nyall Dawson
70c1680754 Automatically handle adding data defined button for dynamic properties
Also exposes this capability to modeler - so that model algorithms
can use data defined parameters within their child algorithms.

TODO:
- tests
- setting the associated vector layer
2018-09-04 19:06:07 +10: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
Nyall Dawson
644ef6a752 [processing] Initial work on porting base GUI classes to c++
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
Nyall Dawson
bb9117075d [layouts] Fix label expression contains unicode characters when edited
Fixes #19743
2018-09-04 18:04:31 +10:00
Nyall Dawson
15e58093e6 Fix 'make permanant' action fails when exporting to a geopackage
with existing layers
2018-09-04 18:04:13 +10:00
nirvn
40e4f0f059 [ui] use lowercase group name for help text in expression builder 2018-09-04 13:37:27 +07: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
5cd28034bd address comments, fix test 2018-09-04 10:07:07 +07:00
nirvn
65d9911e8b Rephrase short help 2018-09-04 10:07:07 +07:00
nirvn
48b18d4c6c [processing] add parameterAsInts function 2018-09-04 10:07:07 +07:00
nirvn
97adef21bd [processing] multiple band selection wrapper should return list of ints 2018-09-04 10:07:07 +07:00
nirvn
1664ef16d2 [FEATURE][processing] gdal's rearrange band algorithm 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
Nyall Dawson
53e2e4eca9 Capitalization
...how in the world has THIS one slipped by unnoticed so long!
2018-09-04 12:38:44 +10:00
Etienne Trimaille
c491872113 do not display geometry, spatial extent and CRS for non spatial layer 2018-09-04 11:35:11 +10:00
Etienne Trimaille
6a80069825 add some missing QLatin1String in metadataHtml() 2018-09-04 11:35:11 +10:00
Nyall Dawson
5a875676fb Clear previously imported symbols when style manager import file is changed
Avoids symbols from a different file from being imported with tags/
etc from a newly selected file.
2018-09-04 09:05:16 +10:00
Nyall Dawson
10c9d41269 Avoid defaulting to older path in style import dialog browse button 2018-09-04 09:05:16 +10:00
signedav
085fd247d6 Expose QgsFeatures::attribute for QML
by setting Q_INVOKABLE
2018-09-04 08:32:34 +10:00