Class: QgsModelGroupBoxGraphicItem¶
A graphic item representing a group box in the model designer.
Warning
Not stable API
Added in version 3.14.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for graphic items representing model components in the model designer. |
|
Methods
Applies edits to the item, using an updated groupBox definition. |
- class qgis.gui.QgsModelGroupBoxGraphicItem[source]¶
Bases:
QgsModelComponentGraphicItem- __init__(box: QgsProcessingModelGroupBox | None, model: QgsProcessingModelAlgorithm | None, parent: QGraphicsItem | None)
Constructor for QgsModelGroupBoxGraphicItem for the specified group
box, 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:
model (Optional[QgsProcessingModelAlgorithm])
parent (Optional[QGraphicsItem])
- applyEdit(self, groupBox: QgsProcessingModelGroupBox)[source]¶
Applies edits to the item, using an updated
groupBoxdefinition.Added in version 4.0.
- Parameters:
groupBox (QgsProcessingModelGroupBox)