Class: QgsStyleLabelSettingsEntity

class qgis.core.QgsStyleLabelSettingsEntity(settings: QgsPalLayerSettings)

Bases: QgsStyleEntityInterface

Constructor for QgsStyleLabelSettingsEntity, with the specified label settings.

QgsStyleLabelSettingsEntity(QgsStyleLabelSettingsEntity)

A label settings entity for QgsStyle databases.

New in version 3.10.

Parameters

settings

settings(self) → QgsPalLayerSettings

Returns the entity’s label settings.

Return type

QgsPalLayerSettings

type(self) → QgsStyle.StyleEntity
Return type

QgsStyle.StyleEntity