Class: QgsProcessingWidgetContextGenerator

An interface for objects which can create Processing widget contexts.

Added in version 4.4.

Note

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

The following methods must be implemented: createWidgetContext()

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.QgsProcessingWidgetContextGenerator

Subclasses

QgsModelDesignerDialog

Model designer dialog base class.

QgsProcessingGuiRegistry

A registry for widgets for use with the Processing framework.

Abstract Methods

createWidgetContext

This method needs to be reimplemented in all classes which implement this interface and return a Processing widget context.

class qgis.gui.QgsProcessingWidgetContextGenerator[source]

Bases: object

abstract createWidgetContext(self) → QgsProcessingParameterWidgetContext[source]

This method needs to be reimplemented in all classes which implement this interface and return a Processing widget context.

Return type:

QgsProcessingParameterWidgetContext