1743 Commits

Author SHA1 Message Date
Harrissou Sant-anna
50c4efb6ca Fix corresponding dox and update debug message 2020-03-17 10:21:30 +10:00
Harrissou Sant-anna
21f39d127e Fix deprecated method redirection 2020-03-17 10:21:30 +10:00
Nyall Dawson
517aa9667b [processing] Port DestinationSelectionPanel to c++
This is basically a 1:1 port (+some fixes relating to incorrect signal
emissions and many more tests)
2020-03-17 07:24:40 +10:00
Nyall Dawson
40d5efce9b Add QgsConnectionRegistry
This registry provides a convenient place to add API relating
to generic connection fetching and handling methods

Currently contains a single method, which allows for retrieving
matching connections using a "provider://name" format (e.g.
"postgres://my connection")
2020-03-16 19:34:25 +10:00
Nyall Dawson
edd0635fe3 [processing] Move responsiblity for creation of file filter strings from python to c++ 2020-03-16 10:08:46 +10:00
Nyall Dawson
51f40f7180 Add interface class QgsFileFilterGenerator for classes which can generate a file filter string 2020-03-16 10:08:46 +10:00
Alexander Bruy
47070a7d7b
Merge pull request #35076 from alexbruy/maplayer-datatype
Data type support for QgsProcessingParameterMapLayer
2020-03-15 16:14:20 +02:00
Nyall Dawson
7b1975ba83 Optionally allow entry of new table names in table name parameter 2020-03-14 16:57:14 +10:00
Nyall Dawson
30fbf24f8f Add API to show empty entries in QgsDatabaseTableComboBox 2020-03-14 16:57:14 +10:00
Nyall Dawson
513966ca80 [feature][processing] Add dedicated parameter type for database tables
Allows selection of an existing database table for a specific
database provider connection (the provider must implement the connections API)
2020-03-14 16:57:14 +10:00
Nyall Dawson
cf310c5d45 Add API to show empty entries in QgsDatabaseSchemaComboBox 2020-03-14 16:57:14 +10:00
Nyall Dawson
93c917f7b6 [feature][processing] Add dedicated parameter type for database schemas
Allows selection from the existing database schema for a specific
database provider connection (the provider must implement the connections API)
2020-03-14 16:57:14 +10:00
Alexander Bruy
0181d10080 [feature][processing] data types support for map layer parameter.
Allow to define accepted layer types for map layer parameters, for
example vector points and rasters.
2020-03-14 08:51:02 +02:00
Denis Rouzaud
14b80de7ed
fix crash when a sink parameter definition is missing in a processing alg (#34978) 2020-03-14 01:03:13 +01:00
Nyall Dawson
ade535b4c4 Move method for determining project temporal extent to new utils class QgsTemporalUtils 2020-03-13 18:06:02 +10:00
Nyall Dawson
ede9e98d59 Fix broken see also link 2020-03-13 13:39:26 +10:00
Nyall Dawson
0a2560ae09 Add shell for QgsVectorDataTemporalCapabilities
Just an API placeholder
2020-03-13 13:39:26 +10:00
Nyall Dawson
e071d2ddb4 Add missing cast code 2020-03-13 13:39:26 +10:00
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
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
31aeb6e351 Browser proxy model: add white list filter and renamed black one 2020-03-11 18:15:39 +01:00
Alessandro Pasotti
3439b22632 Data item registry: add utility method 2020-03-11 16:21:24 +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
95ec307399 Fix see also links 2020-03-10 19:10:52 +10:00
Nyall Dawson
4f66115b9c [feature][processing] Add dedicated parameter type for database connections
Allows selection from the registered database connections for a specific
database provider type (the provider must implement the connections API)
2020-03-10 19:10:52 +10:00
Nyall Dawson
6969db1966 Add API to show empty entries in QgsProviderConnectionComboBox 2020-03-10 19:10:52 +10:00
Alessandro Pasotti
700a411285 QgsNewDatabaseTableNameWidget implementation (WIP) 2020-03-10 08:12:36 +01:00
Samweli
9845ffa591 added tests for changed signal in temporal properties 2020-03-10 10:11:54 +10:00
Samweli
2aaac598ed updates on temporal source changes 2020-03-10 10:11:54 +10:00