16795 Commits

Author SHA1 Message Date
Nyall Dawson
ee2b94f23c Minor API tweak 2020-03-13 13:39:26 +10:00
Nyall Dawson
ff325027f7 Add API to determine if a layer should be rendered for a given time range 2020-03-13 13:39:26 +10:00
Nyall Dawson
4b1b4ab2e2 Hide access to setRequestedTemporalRange from QgsRasterDataProviderTemporalCapabilities
Only QgsRasterLayerRenderer should be accessing this, so block access
via friend class
2020-03-13 13:39:26 +10:00
Alessandro Pasotti
6b3679b2ef
Merge pull request #34968 from elpaso/tablewidget
[api] New database table name widget
2020-03-12 21:35:54 +01:00
Nyall Dawson
0d49009a81 Dox updates 2020-03-12 20:06:25 +10:00
Nyall Dawson
ca56f2f505 Remove unused enum 2020-03-12 20:06:25 +10:00
Nyall Dawson
f894ca41cc Rename some methods for clarity 2020-03-12 20:06:25 +10:00
Nyall Dawson
d66175ac98 Save the time step and frame rate settings into the project and restore
alongside projects
2020-03-12 20:06:25 +10:00
Nyall Dawson
ac3409eab1 Doc and spelling test fixes 2020-03-12 20:06:25 +10:00
Nyall Dawson
05fa67a819 Add an option to loop animations 2020-03-12 20:06:25 +10:00
Nyall Dawson
fb13b0f0dc Emit signals when animation state changes 2020-03-12 20:06:25 +10:00
Nyall Dawson
6f92b12f3d Cleanup raster temporal capabilities/layer classes 2020-03-12 20:06:25 +10:00
Nyall Dawson
5edaef84c5 Cleanup temporal controller dock widget code 2020-03-12 20:06:25 +10:00
Nyall Dawson
66e8ef298a Cleanup QgsTemporalMapSettingsWidget/dialog, hide from stable API/python 2020-03-12 20:06:25 +10:00
Nyall Dawson
2959276c8f Add constructor variant to QgsInterval which uses QgsUnitTypes::TemporalUnit 2020-03-12 20:06:25 +10:00
Nyall Dawson
1ae7344830 Promote temporal units to first class citizen of QGIS
Adds temporal units to QgsUnitTypes, and adds associated helper API
2020-03-12 20:06:25 +10:00
Nyall Dawson
92b257440d Dox and API naming improvements 2020-03-12 20:06:25 +10:00
Nyall Dawson
f7e5347a3a Dox, header cleanups 2020-03-12 20:06:25 +10:00
Samweli
dd129c1aef updates on temporal animation logic 2020-03-12 20:06:25 +10:00
Samweli
99129fe4a8 updates on the temporal controller navigation logic 2020-03-12 20:06:25 +10:00
Samweli
3e06d0a696 new temporal map settings dialog 2020-03-12 20:06:25 +10:00
Samweli
d446c0a223 formatted wms provider code 2020-03-12 20:06:25 +10:00
Samweli
c119ea5518 logic for temporal navigation vcr widget 2020-03-12 20:06:25 +10:00
Denis Rouzaud
3ccc3b815a
add missing QgsProcessingAlgorithm::parameterAsDateTime (#35003) 2020-03-12 09:49:37 +01:00
Alessandro Pasotti
c0c3326f90 Add refresh button 2020-03-12 09:44:20 +01:00
Nyall Dawson
fd65c2d05a Fix mouse handles go out of sync after moving items with cursor keys 2020-03-12 13:14:33 +10:00
Nyall Dawson
1e67ee42fa [FEATURE][processing] Add action to model designer to delete all selected components 2020-03-12 13:14:33 +10:00
Nyall Dawson
a82bd1decd Implement an ugly workaround due to QGraphicsScene lack of event
propagation
2020-03-12 13:14:33 +10:00
Nyall Dawson
4169c7bd68 Improved appearance of resized components 2020-03-12 13:14:33 +10:00
Nyall Dawson
3b61938e24 [FEATURE][processing] Allow interactive resizing of model components
Allows for components to be freely resized via the standard mouse controls
2020-03-12 13:14:33 +10:00
Nyall Dawson
d97f02420e Batch multi item move undo commands 2020-03-12 13:14:33 +10:00
Nyall Dawson
9044acd149 Start work on model designer mouse handles 2020-03-12 13:14:33 +10:00
Nyall Dawson
b7b4ef232a Fix multi item moves, avoid unnecessary scene rebuilds 2020-03-12 13:14:33 +10:00
Nyall Dawson
5149f0b6c7 Rebase fixes 2020-03-12 13:14:33 +10:00
Nyall Dawson
e3f1c576a9 Snapping api work 2020-03-12 13:14:33 +10:00
Nyall Dawson
b22e669bbd Multi item selection work 2020-03-12 13:14:33 +10:00
Nyall Dawson
bb82c12791 [processing] Start re-working model designer to use view tools
Based heavily on the layout designer approach, which is working well..
2020-03-12 13:14:33 +10:00
Even Rouault
ab1755c6a2
Merge pull request #34795 from jgrocha/fix-db-manager-extent-to-string
Fix TypeError when displaying Postgis layers extent
2020-03-11 19:45:02 +01:00
Alessandro Pasotti
31aeb6e351 Browser proxy model: add white list filter and renamed black one 2020-03-11 18:15:39 +01:00
Raul Bezerra Barbosa
7fe174266d fixes #34774 - python 2to3 related bug 2020-03-11 18:09:38 +01:00
Alessandro Pasotti
016f7ed43b New DB table widget: new tests and fixes for file-based DBS 2020-03-11 17:31:50 +01:00
Alessandro Pasotti
3439b22632 Data item registry: add utility method 2020-03-11 16:21:24 +01:00
Nyall Dawson
4dd598fbb5 Also warn for unsaved changes when opening a model through the model designer 2020-03-11 08:39:54 +10:00
Nyall Dawson
e9c594d388 Make Model Designer window title follow app conventions
Show unsaved changes via * prefix, show model name in title

Also less Python, more c++
2020-03-11 08:39:54 +10:00
Nyall Dawson
e7b5c26696 [FEATURE][processing] Add undo/redo support to model designer
Makes QGIS more forgiving for users!

Sponsored by NRCan
2020-03-11 08:39:54 +10:00
Alessandro Pasotti
b42bdddd87 New database table widget new signals & tests 2020-03-10 14:58:10 +01:00
Alessandro Pasotti
d1404ac5ae Add hasChildren to browser proxy model
this to allow filtering out layers
2020-03-10 14:57:22 +01:00
Alessandro Pasotti
867d0f6fdd Data items: add data provider origin key
Adds the data provider key of the data provider
that created the item.

Also keeps a map between data *item* provider name
(AKA data item provider "key") and the data provider
name (AKA data provider "key").
2020-03-10 14:50:23 +01:00
Nyall Dawson
1ea60faebd Fix test 2020-03-10 19:10:52 +10:00
Nyall Dawson
95ec307399 Fix see also links 2020-03-10 19:10:52 +10:00