Class: QgsStyleLabelSettingsEntity

class qgis.core.QgsStyleLabelSettingsEntity

Bases: QgsStyleEntityInterface

A label settings entity for QgsStyle databases.

New in version 3.10.

QgsStyleLabelSettingsEntity(settings: QgsPalLayerSettings) Constructor for QgsStyleLabelSettingsEntity, with the specified label settings.

QgsStyleLabelSettingsEntity(QgsStyleLabelSettingsEntity)

Methods

settings

Returns the entity’s label settings.

type

rtype

QgsStyle.StyleEntity

settings(self) QgsPalLayerSettings

Returns the entity’s label settings.

Return type

QgsPalLayerSettings

type(self) QgsStyle.StyleEntity
Return type

QgsStyle.StyleEntity