Open jakimowb opened 9 months ago
Still not sure how to do that. Let's wait until the QGIS native algorithms, which are also still using the deprecated WidgetWrapper, have been transitioned. Currently, QGIS 4 is not planned anywhere soon, probably not even in the current project phase (till end 2026).
It just needs the implementation of a QgsProcessingParameterWidgetFactoryInterface `
Widget wrapper factories allow creation of QgsAbstractProcessingParameterWidgetWrapper objects. They are centrally managed by QgsProcessingGuiRegistry. Usually, individual factories are not directly utilized, rather the QgsGui.processingGuiRegistry()
`
It just needs the implementation of a QgsProcessingParameterWidgetFactoryInterface
Can you prepare a minimalistic example?
Just read the QGIS docs, they are more or less self-explaining.
The WidgetWrapper class is deprecated and will be removed in future:
qgis/python/plugins/processing/gui/ParametersPanel.py
Let's remove it from the EnMAP-Box code and use proper QgsAbstractProcessingParameterWidgetWrapper implementations instead.