Class: QgsProcessingLayerOutputDestinationWidget

class qgis.gui.QgsProcessingLayerOutputDestinationWidget(parameter: QgsProcessingDestinationParameter, defaultSelection: bool, parent: QWidget = None)

Bases: PyQt5.QtWidgets.QWidget

Constructor for QgsProcessingLayerOutputDestinationWidget, associated with the specified parameter.

A widget which allows users to select the destination path for an output style Processing parameter.

Note

Not stable API

New in version 3.14.

Parameters
actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destinationChanged

Emitted whenever the destination value is changed in the widget. [signal]

destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
outputIsSkipped(self) → bool

Returns True if the output is set to be skipped.

Return type

bool

paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setValue(self, value: Any)

Sets the value to show in the widget.

Parameters

value (Any) –

setWidgetContext(self, context: QgsProcessingParameterWidgetContext)

Sets the context in which the widget is shown, e.g., the parent model algorithm, a linked map canvas, and other relevant information which allows the widget to fine-tune its behavior.

Parameters

context (QgsProcessingParameterWidgetContext) –

sharedPainter()
showEvent()
skipOutputChanged

Emitted whenever the “skip output” option is toggled in the widget. [signal]

Parameters

skipped (bool) –

tabletEvent()
timerEvent()
updateMicroFocus()
value(self) → Any

Returns the widgets current value.

Return type

Any

wheelEvent()