Class: QgsProcessingAlgorithmConfigurationWidgetFactory¶
Interface base class for factories for algorithm configuration widgets.
Added in version 3.2.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: canCreateFor(), create()
Abstract Methods
Check if this factory can create widgets for algorithm. |
|
Create a new configuration widget for algorithm. |
- class qgis.gui.QgsProcessingAlgorithmConfigurationWidgetFactory[source]¶
Bases:
object- abstract canCreateFor(self, algorithm: QgsProcessingAlgorithm | None) bool[source]¶
Check if this factory can create widgets for
algorithm.- Parameters:
algorithm (Optional[QgsProcessingAlgorithm])
- Return type:
bool
- abstract create(self, algorithm: QgsProcessingAlgorithm | None) QgsProcessingAlgorithmConfigurationWidget | None[source]¶
Create a new configuration widget for
algorithm.- Parameters:
algorithm (Optional[QgsProcessingAlgorithm])
- Return type: