Class: QgsModelChildAlgorithmGraphicItem

class qgis.gui.QgsModelChildAlgorithmGraphicItem(child: QgsProcessingModelChildAlgorithm, model: QgsProcessingModelAlgorithm, parent: QGraphicsItem)

Bases: QgsModelComponentGraphicItem

Constructor for QgsModelChildAlgorithmGraphicItem for the specified child, 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 child is transferred to the item.

A graphic item representing a child algorithm in the model designer.

Warning

Not stable API

New in version 3.14.

Parameters
canDeleteComponent(self) → bool
Return type

bool

childEvent()
connectNotify()
contextMenuEvent(self, event: QGraphicsSceneContextMenuEvent)
Parameters

event (QGraphicsSceneContextMenuEvent) –

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(self) → QPixmap
Return type

QPixmap

inputMethodEvent()
inputMethodQuery()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
linkPointCount(self, edge: Qt.Edge) → int
Parameters

edge (Qt.Edge) –

Return type

int

linkPointText(self, edge: Qt.Edge, index: int) → str
Parameters
  • edge (Qt.Edge) –

  • index (int) –

Return type

str

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()