Class: QgsVectorTileLabeling¶
Base class for labeling configuration classes for vector tile layers.
Added in version 3.14.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: clone()
, readXml()
, type()
, writeXml()
Class Hierarchy¶
Subclasses¶
Basic labeling configuration for vector tile layers. |
Abstract Methods
Returns a new copy of the object |
|
Reads labeling properties from given XML element |
|
Unique type string of the labeling configuration implementation |
|
Writes labeling properties to given XML element |
Virtual Methods
In PyQGIS, only methods marked as virtual
can be safely overridden in a Python subclass of QgsVectorTileLabeling. See the FAQ for more details.
Resolves references to other objects - second phase of loading - after |
- class qgis.core.QgsVectorTileLabeling[source]¶
Bases:
object
- abstract clone(self) QgsVectorTileLabeling | None [source]¶
Returns a new copy of the object
- Return type:
Optional[QgsVectorTileLabeling]
- abstract readXml(self, elem: QDomElement, context: QgsReadWriteContext)[source]¶
Reads labeling properties from given XML element
- Parameters:
elem (QDomElement)
context (QgsReadWriteContext)
- virtual resolveReferences(self, project: QgsProject)[source]¶
Resolves references to other objects - second phase of loading - after
readXml()
- Parameters:
project (QgsProject)
- abstract type(self) str [source]¶
Unique type string of the labeling configuration implementation
- Return type:
str
- abstract writeXml(self, elem: QDomElement, context: QgsReadWriteContext)[source]¶
Writes labeling properties to given XML element
- Parameters:
elem (QDomElement)
context (QgsReadWriteContext)