Class: QgsSymbolLayerMetadata

class qgis.core.QgsSymbolLayerMetadata

Bases: QgsSymbolLayerAbstractMetadata

Convenience metadata class that uses static functions to create symbol layer and its widget.

Methods

createSymbolLayer

param map

createSymbolLayerFromSld

param elem

createSymbolLayerWidget

param vl

resolveFonts

param properties

resolvePaths

param properties

createSymbolLayer(self, map: Dict[str, Any])QgsSymbolLayer
Parameters

map (Dict[str) –

Return type

QgsSymbolLayer

createSymbolLayerFromSld(self, elem: QDomElement)QgsSymbolLayer
Parameters

elem (QDomElement) –

Return type

QgsSymbolLayer

createSymbolLayerWidget(self, vl: QgsVectorLayer)QgsSymbolLayerWidget
Parameters

vl (QgsVectorLayer) –

Return type

QgsSymbolLayerWidget

resolveFonts(self, properties: Dict[str, Any], context: QgsReadWriteContext)
Parameters
resolvePaths(self, properties: Dict[str, Any], pathResolver: QgsPathResolver, saving: bool)
Parameters
  • properties (Dict[str) –

  • pathResolver (QgsPathResolver) –

  • saving (bool) –