Class: QgsStyleEntityInterface

An interface for entities which can be placed in a QgsStyle database.

Added in version 3.10.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: type()

Class Hierarchy

Inheritance diagram of qgis.core.QgsStyleEntityInterface

Subclasses

QgsStyleColorRampEntity

A color ramp entity for QgsStyle databases.

QgsStyleLabelSettingsEntity

A label settings entity for QgsStyle databases.

QgsStyleLegendPatchShapeEntity

A legend patch shape entity for QgsStyle databases.

QgsStyleSymbol3DEntity

A 3d symbol entity for QgsStyle databases.

QgsStyleSymbolEntity

A symbol entity for QgsStyle databases.

QgsStyleTextFormatEntity

A text format entity for QgsStyle databases.

Abstract Methods

type

Returns the type of style entity.

class qgis.core.QgsStyleEntityInterface[source]

Bases: object

abstract type(self) QgsStyle.StyleEntity[source]

Returns the type of style entity.

Return type:

QgsStyle.StyleEntity