22 Commits

Author SHA1 Message Date
Martin Dobias
87ff0dc558 Move qgis 4 todo out of doxygen comment 2019-06-25 16:27:41 +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
b3a448a2b2 Do not store context in layer (but in provider) ...
... also use transform context in raster projector
and deprecate setCrs without context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
4614c3e0bd Dox typos 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7f271d1ebd More coordinateTranformContext -> tranformContext 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
470759833e coordinateTransformContext -> transformContext for consistency
I like "coordinateTransformContext" more btw.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
df2bdf9c1a Handle the coordinate tranform context in the layer ctor
Also use the context when read/write XML by passing it
in the R/W context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
71698bf707 Remove all deprecated usages of QgsCoordinateTransform without context 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
3d5e67e72c Fix SIP (sipify does not like inline initializers) 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
dcf206232c Step2 of coordinate traform context passing: SIP broken 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
c21cd35fe0 Add coordinate transform context to data provider options
First step to pass the context down into the rabbit hole.
2019-04-17 10:06:41 +10:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
uclaros
403a2e302e Ran scripts/astyle-all.sh and scripts/sipify_all.sh 2019-02-25 09:26:11 +10:00
Juergen E. Fischer
196024ccba typo fixes 2019-01-01 21:53:37 +01:00
Nyall Dawson
9df3eb3e5c Dox++ 2018-12-21 09:15:32 +10:00
Juergen E. Fischer
499459be4b fix build with SIP <4.19 2018-05-27 19:17:12 +02:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Nyall Dawson
b813a6715e Fix API breaks 2018-05-25 11:40:57 +10: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