Class: QgsProcessingHiddenWidgetWrapper

class qgis.gui.QgsProcessingHiddenWidgetWrapper

Bases: QgsAbstractProcessingParameterWidgetWrapper

An widget wrapper for hidden widgets.

The hidden widget wrapper allows for creation of a widget wrapper which does not provide a graphical widget, yet still implements the QgsAbstractProcessingParameterWidgetWrapper interface.

New in version 3.14.

QgsProcessingHiddenWidgetWrapper(parameter: QgsProcessingParameterDefinition = None, type: QgsProcessingGui.WidgetType = QgsProcessingGui.Standard, parent: QObject = None) Constructor for QgsProcessingHiddenWidgetWrapper, for the specified parameter definition and dialog type.

Methods

childEvent

connectNotify

createLabel

rtype

QLabel

createWidget

rtype

QWidget

customEvent

disconnectNotify

isSignalConnected

linkedVectorLayer

rtype

QgsVectorLayer

receivers

sender

senderSignalIndex

setLinkedVectorLayer

Sets the vector layer linked to the wrapper.

setWidgetValue

param value

timerEvent

widgetValue

rtype

Any

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
createLabel(self)QLabel
Return type

QLabel

createWidget(self)QWidget
Return type

QWidget

customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, QMetaMethod)bool
linkedVectorLayer(self)QgsVectorLayer
Return type

QgsVectorLayer

receivers(self, PYQT_SIGNAL)int
sender(self)QObject
senderSignalIndex(self)int
setLinkedVectorLayer(self, layer: QgsVectorLayer)

Sets the vector layer linked to the wrapper.

Parameters

layer (QgsVectorLayer) –

setWidgetValue(self, value: Any, context: QgsProcessingContext)
Parameters
timerEvent(self, QTimerEvent)
widgetValue(self)Any
Return type

Any