Class: QgsProcessingLayerPostProcessor¶
A post-processor for result layers created by Processing algorithms.
Warning
This is not considered stable API, and is exposed to Python for internal use only.
Added in version 4.4.
List of all members, including inherited members
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsProcessingLayerPostProcessor. See the FAQ for more details.
Post-processes a layer, e.g. applying a default style to the layer. |
- class qgis.core.QgsProcessingLayerPostProcessor[source]¶
Bases:
object- virtual postProcessLayer(self, layer: QgsMapLayer | None, outputName: str | None, algorithm: QgsProcessingAlgorithm | None)[source]¶
Post-processes a layer, e.g. applying a default style to the layer.
This method will be called for every new layer created as a result of running the specified Processing
algorithm.- Parameters:
layer (QgsMapLayer|None)
outputName (str|None)
algorithm (QgsProcessingAlgorithm|None)