49984 Commits

Author SHA1 Message Date
Matthias Kuhn
ae68549186 Initial work on QML widget configuration 2018-09-05 11:01:32 +02:00
Matthias Kuhn
a5d7c1708c Make string translatable 2018-09-05 11:01:32 +02:00
Matthias Kuhn
5acd33b32d Work in progress 2018-09-05 11:01:32 +02:00
nirvn
1c8eadcdcc [3d] When first applying a 3D map settings from a dock, also copy its camera settings 2018-09-05 14:51:37 +07:00
Matthias Kuhn
f875bb77b4
Merge pull request #7792 from m-kuhn/threadsafefeaturesource
Add threadsafe method to get featuresource from layer
2018-09-05 08:13:44 +02:00
Matthias Kuhn
86f429375d Doxygen 2018-09-05 06:42:59 +02:00
Matthias Kuhn
26626ea3d8 Fix test 2018-09-05 06:42:51 +02:00
Nyall Dawson
969c7c550f Capitalization 2018-09-05 13:55:47 +10:00
Matthias Kuhn
e23167ee3d
Fix some test issues 2018-09-05 05:32:37 +02:00
Nyall Dawson
f79d86edab [processing] Port string widget wrapper to new c++ class 2018-09-05 13:14:50 +10:00
Nyall Dawson
e10d16e1da
Merge pull request #7659 from lbartoletti/reverseLine
[needs-docs][FEATURE] Add reverse line maptools AKA swap direction
2018-09-05 08:59:49 +10:00
Juergen E. Fischer
1f918583e8 debian packaging: include Qt53DExtra headers removed on debian/ubuntu 2018-09-05 00:47:15 +02:00
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
Matthias Kuhn
75bb5c40a7 Add test for QgsVectorLayerUtils::getFeatureSource 2018-09-04 22:07:33 +02:00
Matthias Kuhn
44ce8977d9 Use QPointer instead of QWeakPointer 2018-09-04 22:05:56 +02: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
d2f52bf400 Add threadsafe method to get featuresource from layer 2018-09-04 15:27:40 +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