Class: QgsProcessingContextGenerator¶
An interface for objects which can create Processing contexts.
Added in version 3.4.
Class Hierarchy¶
Subclasses¶
Base class for processing algorithm dialogs. |
Methods
This method needs to be reimplemented in all classes which implement this interface and return a Processing context. |
- class qgis.gui.QgsProcessingContextGenerator[source]¶
Bases:
object
- processingContext(self) QgsProcessingContext | None [source]¶
This method needs to be reimplemented in all classes which implement this interface and return a Processing context.
Note that ownership of the context is not transferred - it is intended that subclasses return a pointer to a context which they have already created and own.
- Return type:
Optional[QgsProcessingContext]