Nyall Dawson
034b8754a0
Add test for storage of designer parameter values
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
c307f0eacf
fixup
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
ce065059cb
Only pass on the render context temporal range to the data provider
...
when the layer is set to the ModeTemporalRangeFromDataProvider mode
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
Nyall Dawson
326f58399e
Store canvas temporal range directly in canvas map settings, instead of
...
a separate variable.
2020-03-06 11:56:13 +10:00
Nyall Dawson
e7ac0ee121
Use widget's logicalDpiX() instead of a screens
...
Fixes #34772
2020-03-06 07:37:10 +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
889563e5a2
When exporting a model to python, export comments as python comments
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
Denis Rouzaud
0c3f233c46
Update backport.yml ( #34883 )
2020-03-05 10:41:35 +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
c178276ef9
removed provider capabilities setting in temporal layer properties
2020-03-05 18:41:35 +10:00
Samweli
4abaee8cac
small tweaks,eg. remove of unwanted spaces
2020-03-05 18:41:35 +10:00
Samweli
8848cbd28b
improved provider temporal capabilities tests
2020-03-05 18:41:35 +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
d7616bf5a8
added current layer range label
2020-03-05 18:41:35 +10:00
Samweli
f39a5765d6
updated tests format
2020-03-05 18:41:35 +10:00