7785 Commits

Author SHA1 Message Date
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
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
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
cb990c69c2 Setup framework for receiving model child results after running through model designer 2020-03-31 19:35:51 +10:00
Nyall Dawson
dac7bd7272 Update test results due to different random algorithm used 2020-03-31 18:22:12 +10:00
Håvard Tveite
c774ade88f
[FEATURE][processing] Add "random points on lines" algorithm
The Random points on lines algorithm supplements the existing "Random points along line" algorithm, and will prove to be more useful to the majority of users than the "original".

Features:

The points are distributed randomly over the lines based on "along the line" distance, meaning that the distribution of the points will be flat over the length of the line (each place on the feature has the same probability of being "hit"). 

The Random points along line, on the other hand, uses a line segment based approach, meaning that the density will depend on the segment length (short segments will have a higher point density than longer ones).
2020-03-31 08:55:47 +10:00
Nyall Dawson
e386573c0c [FEATURE][processing] Port multi-layer input parameter widget to new API
Allows
- expression based inputs
- rearrangement of inputs for multi-layer parameters in models, to set
specific layer orders
2020-03-31 01:06:48 +10:00
Nyall Dawson
a682405ccb [processing] Partial port of Multi Input parameter widget (standard and batch) 2020-03-31 01:06:48 +10:00
Marco Hugentobler
4cd464059c Revert test gpkg files 2020-03-30 08:26:16 +02:00
mhugent
7523ec2067
Merge pull request #35408 from mhugent/server_project_settings_expanded
Server project settings, add 'expanded' attribute
2020-03-30 07:35:07 +02:00
Nyall Dawson
865aa931e2 Fix exception in deprecated classes 2020-03-29 05:56:23 +10:00
Nyall Dawson
d327ddd668 Trick autopep 2020-03-29 05:56:23 +10:00
Nyall Dawson
ef4344b674 Default to current layer when appropriate 2020-03-29 05:56:23 +10:00
Nyall Dawson
d40990e155 [feature][processing] Port Feature Source, Raster, Vector and Mesh Layer parameters to new API 2020-03-29 05:56:23 +10:00
Ivan Ivanov
0a1d22574a Fix unwanted automatic fill of all algorithms when there is no input in the locator 2020-03-28 19:42:42 +10:00
Nyall Dawson
2856e7d2a9 Somedays Travis is just calling out to be punched in the face... 2020-03-28 12:04:43 +10:00
Nyall Dawson
c92b6fba86 Indentation 2020-03-28 12:04:43 +10:00
Nyall Dawson
3d30471731 [processing] When running in a batch mode, move the layer adding
actions to the "Autofill" menu

This adds more UI consistency, as currently there's a disconnect
from the autofill options available via the Autofill buttons
vs some options which need to be done from the first rows "..."
button
2020-03-28 12:04:43 +10:00
Marco Hugentobler
934e30f30e Adapt expected test output 2020-03-27 14:38:32 +01:00
Alexander Bruy
72404a9038 [processing] use native matrix parameter definition widget 2020-03-27 07:08:42 +10:00
Alexander Bruy
87eefa325e [processing] use native enum parameter definition widget 2020-03-27 07:08:42 +10:00
Alexander Bruy
c5841c34fd
Merge pull request #33910 from alexbruy/dbmanager-import-clear
[dbmanager] clear create table dialog on succes (fix #25535)
2020-03-26 15:26:35 +02:00
Nyall Dawson
44ae5a5e1d Fix exception in test 2020-03-26 11:55:45 +10:00
Nyall Dawson
6ac9fca497 [FEATURE][processing] Allow loading non-disk based layers direct from browser for
feature sources, instead of requiring them to be loaded into a project first

This change allows users to directly browse to non disk-based layer sources
for any processing feature source inputs. It allows these inputs to be
taken direct from postgres, sql server, oracle, wfs, afs, etc layers directly
without having to first load them into a project!
2020-03-26 11:55:45 +10:00
Nyall Dawson
9d0efd3354 Set widget context for QgsProcessingMapLayerComboBox 2020-03-26 11:55:45 +10:00
Nyall Dawson
1915a16bf3 Port extent parameter to new c++ API widget wrapper 2020-03-25 19:25:40 +10:00
Nyall Dawson
945eb460fe Allow dragging and dropping project layers to QgsExtentWidget to copy extent from layer 2020-03-25 19:25:40 +10:00
Nyall Dawson
ab4016209a More Travis fixes 2020-03-25 09:42:17 +10:00
Nyall Dawson
ffda225796 Travis fixes 2020-03-25 09:42:17 +10:00
Nyall Dawson
9500020b0f Fix exception when opening gdal algorithms 2020-03-25 09:42:17 +10:00
Nyall Dawson
2ce58cdb9d Remove some unused ui files 2020-03-25 09:42:17 +10:00
Nyall Dawson
3d6e4963f6 [processing] Move base class of ParametersPanel to c++ 2020-03-25 09:42:17 +10:00
Nyall Dawson
41fb4df77f [processing] Move iterate button to c++ 2020-03-25 09:42:17 +10:00
Nyall Dawson
21d12b4ed5 Remove unused processing icons 2020-03-25 09:42:17 +10:00
Nyall Dawson
3b26a0dece Cleanup unused imports 2020-03-25 09:42:17 +10:00
Nyall Dawson
91d51914a0 Minor cleanup ParametersPanel 2020-03-25 09:42:17 +10:00
Nyall Dawson
6e2c21eb55 [processing] Cleanup handling of "iterate over source" buttons, move
creation completely to widget wrapper
2020-03-25 09:42:17 +10:00
Cédric Traizet
fb419b638d OTB plugin modification for OTB 7.1 2020-03-25 08:22:46 +10:00
Nyall Dawson
d4f378a3d2 [processing] Fix incorrect tooltips show for output parameters 2020-03-23 10:16:26 +10:00
lbartoletti
364dc3fd4f
Fix multi split for multilinestring (#34510)
* Fix multi split for multilinestring
2020-03-20 13:23:11 +01:00
Alexander Bruy
16b4ef8e32 [processing] port expression parameter definition widget to C++ 2020-03-19 11:49:13 +02:00
Alexander Bruy
972223b55e [processing] port point parameter definition widget to C++ 2020-03-19 11:49:13 +02:00
Alexander Bruy
f4e4adbef8 [processing] port CRS parameter defintion widget to C++ 2020-03-19 11:49:13 +02:00