17250 Commits

Author SHA1 Message Date
Alessandro Pasotti
a21800cf3e Adress PR review + model test + QgsExpression -> QString 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
4a33c75bc9 Mapping panel: fix initial loading of source fields 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e1044d87f1 Use QgsFieldMappingWigdet in processing UI 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
dcb4987079 Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
1ac2c447f8 Fix model sync when fields change 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
5d720fbb5f Enum class for ColumnDataIndex + constraints 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
1ef0c6538f Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
8ac0a3d7a7 Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
61aff3a58b Added default ctor and model (re)setters 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
794eb7e097 QgsFieldMappingModel plus tests and widget operations 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
2ce67b3391 sipify 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
a59cf9c8d2 Added setFields 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
16655d7f59 Minor changes 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e7621be8be Field mapping widget 2020-04-03 21:21:14 +10:00
Matthias Kuhn
c6621a9faf
Merge pull request #35413 from suricactus/layer_toggle
FIX #33874 Turn on/off ALL selected layers with "Space" button
2020-04-03 11:41:53 +02:00
Vincent Cloarec
75ddf3c7a6
[FEATURE][MESH] plug mesh layer to QGIS temporal framework (#35466)
[FEATURE] Use temporal controller for the mesh layer time handling.
2020-04-03 08:21:15 +02:00
Nyall Dawson
406867d2ed Setup API to get theme linked to map pushed to linked legends 2020-04-03 14:43:11 +10:00
Nyall Dawson
0930906d0d Add signal which is emitted when a layout map's linked theme is changed 2020-04-03 14:43:11 +10:00
Martin Dobias
53075848ce
Merge pull request #35341 from wonder-sk/vector-tile-layer
[FEATURE] Vector tile layer - part 1
2020-04-02 16:06:30 +02:00
Nyall Dawson
a7610c5682 Give up on enum class
Python says no.
2020-04-02 19:20:40 +10:00
Nyall Dawson
579ef1c5c1 Fix use of enum flags in older python/sip versions 2020-04-02 19:20:40 +10:00
Nyall Dawson
740be229cb Typo 2020-04-02 02:29:54 +10:00
Nyall Dawson
d20a3bddc0 [FEATURE][processing] Port output parameter wrappers to new c++ API for modeler
This allows a range of new possibilities, including:
- models with static outputs for child algorithms, e.g. always saving
a child algorithm's output to a geopackage or postgres layer
- models with expression based output values for child algorithms, e.g.
generating an automatic file name based on today's date and saving
outputs to that file
2020-04-02 02:29:54 +10:00
Nyall Dawson
3976e14ae8 Refine arrow API to allow control over whether arrows join to incoming or outgoing sides 2020-04-02 02:29:54 +10:00
Nyall Dawson
c98cd8d1a8 Partial port of destination wrappers to c++ API 2020-04-02 02:29:54 +10:00
Nyall Dawson
f31af07235 Fix windows build 2020-04-01 18:20:09 +10:00
Nyall Dawson
90a0a2d6a6 Fix exception when hiding comments 2020-04-01 18:20:09 +10:00
Nyall Dawson
50b723ce7b [FEATURE][processing] Add menu to the Model Designer "View" menu
allowing users to zoom direct to any group box present in the model

Allows for simplified navigation of complex models
2020-04-01 18:20:09 +10:00
Nyall Dawson
4fa9083cf6 [FEATURE][processing] Allow creation of group boxes in models
These are a visual guide, allowing designers to create logical groups
of algorithms relating to a single task ("eg 'Prepare data')

The title and color of the group boxes can be customized
2020-04-01 18:20:09 +10:00
Nyall Dawson
a7a64d40e0 Add API for storing group boxes in processing models 2020-04-01 18:20:09 +10:00
Nyall Dawson
e788be93fa [processing][FEATURE] Add api for setting model component colors, and expose
the option to set manual colors for individual model comments
2020-04-01 18:20:09 +10:00
Samweli
88f039e6ea added two match modes for wmst static temporal range updates 2020-04-01 14:36:32 +10:00
Nyall Dawson
87f50c3633 Fix some ugly appearance of data defined buttons 2020-04-01 08:42:14 +10:00
Nyall Dawson
fb7f85efb6 Fix dialog name 2020-04-01 05:27:55 +10:00
Nyall Dawson
7a69bf39d2 Another fix for OTB widget 2020-04-01 05:27:55 +10:00
Nyall Dawson
bc659fe1fa Adapt OTB widget use of non-stable API
(this is a prime example of why the sooner we can drop all this python, the better...)
2020-04-01 05:27:55 +10:00
Nyall Dawson
ed51791068 Fix spell check error 2020-04-01 05:27:55 +10:00
Nyall Dawson
fbe36f8849 Messy messy refactoring to open model parameter options using inline panels
The "stable" old python api is really biting us here, and causes a heap of mess
Bring on QGIS 4.0!
2020-04-01 05:27:55 +10:00
Juergen E. Fischer
fd036d6d5e transifex issue: exclude keywords from db manager query builder translation 2020-03-31 14:49:44 +02:00
Mathieu Pellerin
ab6fe9d79a [FEATURE][layouts] Add import content from clipboard for fixed table items 2020-03-31 17:21:09 +07:00
Nyall Dawson
3dfc931fad Hide internal results from log 2020-03-31 19:35:51 +10:00
Nyall Dawson
f268b09d1b Also show child input values 2020-03-31 19:35:51 +10:00
Nyall Dawson
5963b90f2c [processing][FEATURE] After running a model through the model designer,
show the obtained values for all child algorithm outputs within the designer
canvas

This gives users better tools for debugging models - they can see exactly
what values were output by the child algorithms and flowed into other
parts of their model
2020-03-31 19:35:51 +10:00
Nyall Dawson
cb990c69c2 Setup framework for receiving model child results after running through model designer 2020-03-31 19:35:51 +10:00
Nyall Dawson
60af337c3c [processing][FEATURE] Add "Save Log to File" algorithm for models
This algorithm saves the contents of the execution log (right up to
the point in the model at which the 'save log' algorithm executes)
to a file.

It can be used to automatically store the debugging log when running
models for later reference and transparency.
2020-03-31 19:35:28 +10:00
Nyall Dawson
0684d41fe1 Make QgsProcessingFeedback remember logged messages for later recall 2020-03-31 19:35:28 +10:00
Nyall Dawson
dac7bd7272 Update test results due to different random algorithm used 2020-03-31 18:22:12 +10:00
Martin Dobias
a2f86469d3 Fix doxygen, spelling, shared_ptr 2020-03-31 08:51:54 +02:00
Martin Dobias
be98e2f0f6 [FEATURE] Raster layer contour renderer
This new renderer draws contour lines that are calculated on the fly
from the source raster band. It is possible to set interval of contour
lines and symbol used for drawing.

In addition there is support for "index contours" - contour lines
with higher interval, typically drawn with a wider line symbol.

If we generate contour lines on input raster block with the same size as our
output raster block, the generated lines would contain too much detail.
This detail can be reduced by the "downscale" factor - this will request
lower resolution of the source raster.
2020-03-31 08:51:54 +02:00
Alessandro Pasotti
e3b65a4f0e Sipify 2020-03-31 14:23:55 +10:00