Class: QgsModelParameterGraphicItem

A graphic item representing a model parameter (input) in the model designer.

Warning

Not stable API

Added in version 3.14.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsModelParameterGraphicItem

Base classes

QgsModelComponentGraphicItem

Base class for graphic items representing model components in the model designer.

QGraphicsObject

QObject

QGraphicsItem

class qgis.gui.QgsModelParameterGraphicItem[source]

Bases: QgsModelComponentGraphicItem

__init__(parameter: QgsProcessingModelParameter | None, model: QgsProcessingModelAlgorithm | None, parent: QGraphicsItem | None)

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

Parameters: