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

Inheritance diagram of qgis.core.QgsVectorTileLabeling

Subclasses

QgsVectorTileBasicLabeling

Basic labeling configuration for vector tile layers.

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:
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: