Class: QgsModelOutputGraphicItem

class qgis.gui.QgsModelOutputGraphicItem(output: QgsProcessingModelOutput, model: QgsProcessingModelAlgorithm, parent: QGraphicsItem)

Bases: QgsModelComponentGraphicItem

Constructor for QgsModelOutputGraphicItem for the specified output, with the specified parent item.

The model argument specifies the associated processing model. Ownership of model is not transferred, and it must exist for the lifetime of this object.

Ownership of output is transferred to the item.

A graphic item representing a model output in the model designer.

Warning

Not stable API

New in version 3.14.

Parameters
canDeleteComponent(self) → bool
Return type

bool

childEvent()
connectNotify()
contextMenuEvent()
customEvent()
deleteComponent(self)
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
editComponent()
event()
fillColor(self, state: QgsModelComponentGraphicItem.State) → QColor
Parameters

state (QgsModelComponentGraphicItem.State) –

Return type

QColor

focusInEvent()
focusOutEvent()
iconPicture(self) → QPicture
Return type

QPicture

iconPixmap()
inputMethodEvent()
inputMethodQuery()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
prepareGeometryChange()
receivers()
sceneEvent()
sceneEventFilter()
sender()
senderSignalIndex()
strokeColor(self, state: QgsModelComponentGraphicItem.State) → QColor
Parameters

state (QgsModelComponentGraphicItem.State) –

Return type

QColor

strokeStyle()
textColor(self, state: QgsModelComponentGraphicItem.State) → QColor
Parameters

state (QgsModelComponentGraphicItem.State) –

Return type

QColor

timerEvent()
truncatedTextForItem()
updateButtonPositions()
updateMicroFocus()
updateStoredComponentPosition(self, pos: Union[QPointF, QPoint], size: QSizeF)
Parameters
  • pos (Union[QPointF) –

  • size (QSizeF) –

wheelEvent()