Martin Dobias
d155b1c877
Further updates from review
2019-06-25 15:38:07 +02:00
Martin Dobias
aead182b21
Change FilterType to enum class + rename values to FilterXXX
2019-06-25 14:53:56 +02:00
Martin Dobias
5f0558915f
Pass uri in createProvider() as a reference, not a pointer
2019-06-23 20:36:01 +02:00
Martin Dobias
ab261b675e
Doxy fix + remove extra QgsProviderMetadata constructor
2019-06-20 14:50:30 +02:00
Martin Dobias
7659dd8b8b
Misc fixes for provider registry/metadata deprecated functions
2019-06-20 12:32:44 +02:00
Martin Dobias
a6b837b745
code layout fixes
2019-06-20 00:09:20 +02:00
Martin Dobias
f6049e01d0
Misc fixes to get the branch compiling & running with Python
...
- grass data item provider fixes
- removed QgsProviderMetadata constructor (with std::function / PyObject) due to sip errors (api break)
- reverted DataCapability move to Qgis - back to QgsDataProvider (avoiding api breaks)
- WidgetMode enum documentation
- sipify monkey patching fix
- renamed WidgetMode's "None" to "Normal" value - in python None has special meaning (api break)
2019-06-19 23:02:11 +02:00
Peter Petrik
62d615c2cd
[QEP 149] Introduce static data providers [API BREAK]
...
- adds QgsProviderGuiRegistry and QgsProviderGuiMetadata
- adds QgsProjectStorageGuiRegistry
- requires providerMetadataFactory for dynamic data providers
- requires providerMetadataGuiFactory for dynamic data providers (GUI only)
- removes QgsProviderRegistry::WidgetMode
2019-06-18 15:15:36 +02:00
Alessandro Pasotti
a8ce494529
NULL -> nullptr in sip code
2018-06-04 18:20:48 +02:00
Alessandro Pasotti
6ece1aa543
registerProvider now returns a bool
2018-06-04 14:26:22 +02:00
Alessandro Pasotti
0430a8d59c
Better comment to explain why the ref needs to be incremented
2018-06-04 11:51:11 +02:00
Alessandro Pasotti
3aa630ca25
Added QgsDataProvider::ProviderOptions to the bindings
2018-06-01 14:18:44 +02:00
Alessandro Pasotti
2f41d32e98
Added test to cmake
2018-06-01 10:55:17 +02:00
Alessandro Pasotti
6f3be9fa3d
SIP updates
2018-06-01 10:55:17 +02:00
Alessandro Pasotti
7ffdab2d09
Do not dec ref in methodcode
2018-06-01 10:53:46 +02:00
Alessandro Pasotti
839a889038
SIP wrappers for QgsProviderMetadata
2018-06-01 10:53:46 +02:00
Nyall Dawson
44630b47ed
Add QgsDataProvider::ProviderOptions struct to constructors
...
for data providers
Allows a way to pass generic settings to providers, e.g.
passing a datum transform context for use in provider's
constructors.
2018-05-25 11:40:57 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00