8 Commits

Author SHA1 Message Date
Denis Rouzaud
5bccd556e2
move QgsTolerance::UnitType to Qgis::MapUnitType (#53347)
* move QgsTolerance::UnitType to Qgis::MapUnitType

* missing forward declaration

* forward declaration

* use MapToolUnit

* forward declaration

* sipify

* fix tests

* Apply suggestions from code review

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>

* forward declaration

* forward declaration

* forward declaration

* sipify

* fix missing parenthesis

---------

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-06-06 18:33:50 +02:00
Nyall Dawson
1142e8ffac
Move QgsMapLayerType enum to Qgis.LayerType (#51874)
For consistency with other enums
2023-02-16 13:02:57 +01:00
Alessandro Pasotti
9c2923aa1d Optionally load all stored styles from DB with correct names.
Fixes #37434

Funded by: Ministère des Forêts, de la Faune et des Parcs - Québec
2022-11-07 10:16:04 +01:00
Nyall Dawson
220bcb0114 Rework QgsMapLayerFactory.createLayer API so that we can specify additional options 2021-07-13 06:39:11 +10:00
Nyall Dawson
00db2820cd Add generic method to QgsMapLayerFactory to create map layers of
any type
2021-06-23 19:35:11 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
fd1c9f3ad1 Since 2021-03-10 13:00:20 +10:00
Nyall Dawson
63a365a6a2 Add some utility functions to new QgsMapLayerFactory class for easier reuse 2021-03-10 09:39:46 +10:00