Class: QgsModelOutputGraphicItem¶
A graphic item representing a model output in the model designer.
Warning
Not stable API
Added in version 3.14.
Class Hierarchy¶
Base classes¶
Base class for graphic items representing model components in the model designer. |
|
- class qgis.gui.QgsModelOutputGraphicItem[source]¶
Bases:
QgsModelComponentGraphicItem- __init__(output: QgsProcessingModelOutput | None, model: QgsProcessingModelAlgorithm | None, parent: QGraphicsItem | None)
Constructor for QgsModelOutputGraphicItem for the specified
output, with the specifiedparentitem.The
modelargument specifies the associated processing model. Ownership ofmodelis not transferred, and it must exist for the lifetime of this object.Ownership of
outputis transferred to the item.- Parameters:
output (Optional[QgsProcessingModelOutput])
model (Optional[QgsProcessingModelAlgorithm])
parent (Optional[QGraphicsItem])