16713 Commits

Author SHA1 Message Date
Nyall Dawson
4e1e68461d Snap Geometries algorithm is capable of running in-place mode 2020-03-06 18:24:01 +10:00
Nyall Dawson
56610002e3 Identation 2020-03-06 18:22:49 +10:00
Nyall Dawson
0b3f7a58c1 Hookup toggle to hide comments from model designer 2020-03-06 18:22:49 +10:00
Nyall Dawson
08b47a496b Fix missing icon, less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
b84bf68dab Bit less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
8845b535c5 More c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
df7dd5ba90 More model dialog Python -> c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
a0e6a374eb Port some more model designer Python code to c++ 2020-03-06 18:22:49 +10:00
Nyall Dawson
eefd04cbc1 Start creation of a c++ base class for modeler dialog 2020-03-06 18:22:49 +10:00
Nyall Dawson
93355082a2 Add a menu bar to model designer 2020-03-06 18:22:49 +10:00
Nyall Dawson
2a1bf56493 [FEATURE][processing] Remember parameter values between model designer runs
When designing a model, users typically will need to run the model
many times as they tweak its structure.

This change causes the parameters used when running the model from
the designer to be remembered and saved into the model, so that
each time you run the model from the designer you don't have to
re-set all the input parameter values to the desired test ones.

Makes iterative model design SO much easier!

Sponsored by Alta Ehf
2020-03-06 18:22:49 +10:00
Alessandro Pasotti
b3864dbf3a
Merge pull request #34890 from elpaso/bugfix-gh34862-db-manager-stinks-again
DB manager: connections refresh
2020-03-06 08:37:15 +01:00
Nyall Dawson
9bbfe81540 When the canvas temporal range is changed, we need to invalidate any
cached images we have of temporal enabled layers

Otherwise these will not be re-rendered using the update temporal range
when the canvas is redrawn (and we want to avoid a full map redraw during
animations, which is expensive, so we want to be able to reuse as many
cached images as possible!)
2020-03-06 11:56:13 +10:00
Nyall Dawson
9959a22e54 Don't inherit QgsTemporalProperty for QgsDataProviderTemporalCapabilities
The QgsTemporalProperty interface has members which are geared more to
user-setable temporal properties (e.g. "isActive()"/"setIsActive()". Instead, use
more explicit "hasTemporalCapabilities()" API in
QgsDataProviderTemporalCapabilities to make it immediately clear
what this flag means for data provider temporal capabilities
2020-03-06 11:56:13 +10:00
Nyall Dawson
fa6d62f9dd Minor header cleanups and documentation improvements 2020-03-06 11:56:13 +10:00
Nyall Dawson
266d920d99 Dox++ 2020-03-06 11:56:13 +10:00
Matthias Kuhn
6548d6c17c
Merge pull request #34750 from gacarrillor/remove_duplicate_nodes_in_collections
Remove duplicate nodes from each part in a collection
2020-03-05 20:45:11 +01:00
Nyall Dawson
23aa83c23e Add unit tests, minor fixes 2020-03-06 03:49:16 +10:00
Nyall Dawson
64868ce8f2 Bit more Python to c++ porting 2020-03-06 03:49:16 +10:00
Nyall Dawson
0af98f9f5b Nicer comment text appearance 2020-03-06 03:49:16 +10:00
Nyall Dawson
961557dacd UX improvements for comment editing 2020-03-06 03:49:16 +10:00
Nyall Dawson
03fc03355d Don't lose properties of existing outputs when editing algorithm 2020-03-06 03:49:16 +10:00
Nyall Dawson
13fc85d740 [FEATURE][processsing] Add support for comments attached to components
This allows users to create comments attached to model components (inputs,
algorithms or outputs). Comments are shown linked to the associated component,
and can be freely moved around the model.
2020-03-06 03:49:16 +10:00
Alessandro Pasotti
d3649a51b4 DB manager: connections refresh
Fixes #34862
2020-03-05 18:09:29 +01:00
Alessandro Pasotti
542c183f00
Merge pull request #34871 from elpaso/pgraster-set-subset-string-app-expose
[feature] PG raster expose set filter to app
2020-03-05 15:34:33 +01:00
Alessandro Pasotti
3246a92db8
Merge pull request #34827 from elpaso/parent-form-current-value-2
[feature] Get current parent form values in child forms
2020-03-05 10:51:43 +01:00
Nyall Dawson
d79fed41ce Indentation 2020-03-05 18:55:20 +10:00
Nyall Dawson
70731d82d5 Port most of the remaining ModelerScene code to c++
ModelerScene is now a shell class, implementing the bare minimum
required for older Python API compatibility
2020-03-05 18:55:20 +10:00
Nyall Dawson
ef8f26e3a7 Much simpler code for determining linked parameters in modeler 2020-03-05 18:55:20 +10:00
Nyall Dawson
616504be59 Add missing parameter dependancies for QgsProcessingParameterCoordinateOperation 2020-03-05 18:55:20 +10:00
Nyall Dawson
0fff9338bb Remove exception which is never raised 2020-03-05 18:55:20 +10:00
Nyall Dawson
9ba699ee1c Port more of modeler scene to c++ 2020-03-05 18:55:20 +10:00
Nyall Dawson
d6d1b858c9 Metatype 2020-03-05 18:55:20 +10:00
Nyall Dawson
873ad5f734 Clone should be const 2020-03-05 18:55:20 +10:00
Nyall Dawson
d8eb0efc06 Add missing changed signal emissions 2020-03-05 18:55:20 +10:00
Nyall Dawson
5c44441cd3 Move some modeler scene code to c++, avoid hard link between scene
and dialog
2020-03-05 18:55:20 +10:00
Samweli
1abbc2a586 saving and restoring temporal properties 2020-03-05 18:41:35 +10:00
Samweli
391f606f78 moved temporal range from provider to layer temporal properties 2020-03-05 18:41:35 +10:00
Samweli
51b475f689 added checks for possible null temporal capabilities 2020-03-05 18:41:35 +10:00
Samweli
ccf8a03678 removed duplicate signal 2020-03-05 18:41:35 +10:00
Samweli
2517b566d1 suggested changes from the review 2020-03-05 18:41:35 +10:00
Samweli
b30ccf3289 fixed travis tests 2020-03-05 18:41:35 +10:00
Samweli
872094cf8a removed status label in temporal properties 2020-03-05 18:41:35 +10:00
Samweli
6352d6889c added abstract temporal class
updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added tests for temporal property

added tests for temporal property

added temporal widget ui

temporal support in raster layers, from wms provider

temporal properties in raster layer properties

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

temporal support in raster layers, from wms provider

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updates on map layers temporal properties classes

fix travis tests

add read and write xml tests

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

edits per review on qgs map canvas

temporal properties in raster layer properties

temporal support in raster layers, from wms provider

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updated layer times ui

added advanced options in layer time constrains ui

fix for refreshing wms layer after temporal properties update

update on wms-t temporal properties

added support for bi-temporal WMS-T
2020-03-05 18:41:35 +10:00
Matthias Kuhn
923dabd86a
Merge pull request #34797 from lbartoletti/fix_key_conflict_for_close_editing_line
Use a different key sequence for close editing line. Fixes #34793
2020-03-05 08:09:01 +01:00
Harrissou Sant-anna
7ca97f38d2 Add version of deprecation 2020-03-05 16:17:20 +10:00
Harrissou Sant-anna
1eae00e07a Update some use of QgsCoordinateReferenceSystem 2020-03-05 16:17:20 +10:00
Harrissou Sant-anna
c398a2666a Fix QgsCoordinateReferenceSystem documentation rendering
with better list display, highlight related methods
2020-03-05 16:17:20 +10:00
Alessandro Pasotti
41f6d729a7 PG raster: update since in dox 2020-03-04 16:42:32 +01:00
Alessandro Pasotti
385acae48c PG raster: reset renderer when filter changes 2020-03-04 16:25:50 +01:00