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
82f2cb18b2
Deprecate default ctor for mesh layer options
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
e930bee9e2
Add mandatory options to QgsVectorLayer ctor
...
... and deprecate the rest.
In QGIS 4 we'll have to get rid of the deprecated default ctor and
create a new one which takes no arguments.
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
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Blottiere Paul
3fbda69669
Update sip binding
2019-02-26 12:56:14 +00:00
Luigi Pirelli
bdda8d0b37
back to const methods
2019-02-01 18:13:05 +01:00
Luigi Pirelli
82e48f9c82
Added SLD 1.0 export for rasters
2019-01-31 15:21:05 +01:00
Alessandro Pasotti
326640d881
Implement setDataSource for rasters
2018-11-05 10:24:35 +01:00
Denis Rouzaud
cb9774022f
create dialog for saving different styles
2018-09-14 16:35:30 +10:00
Denis Rouzaud
15e0d873d9
select categories in copy style in legend menu entry
...
not working yet, just set the menu entries
QgsMapLayerStyle::StyleCategory has moved to QgsMapLayer to avoid making QgsMapLayerStyle a QObject and they are mostly used in QgsMapLayer
2018-09-14 16:35:30 +10:00
Denis Rouzaud
51e9be0575
add API to select section of layer style when reading/writing
2018-09-14 16:35:30 +10:00
Chris Mayo
2a72eda514
Improve documentation of QgsRasterLayer constructor
...
- baseName is just passed on to the parent constructor to be the display
name, use a literal string in the example to avoid misunderstanding.
- Remove stray bullet.
2018-08-24 06:16:57 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
3d6ea5972b
Remove some junk lines from docstrings
2018-05-27 18:54:09 +10:00
Nyall Dawson
b6b08e96a0
Add 'accessor for' to doxygen compliance blacklist
...
Use "Returns the..." instead
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
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