Class: QgsModelChildAlgorithmGraphicItem¶
A graphic item representing a child algorithm 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. | |
Methods
| Sets the results obtained for this child algorithm for the last model execution through the dialog. | 
Signals
| Emitted when the user opts to run the model from this child algorithm. | |
| Emitted when the user opts to run selected steps from the model. | |
| Emitted when the user opts to view the previous log from this child algorithm. | |
| Emitted when the user opts to view previous results from this child algorithm. | 
- class qgis.gui.QgsModelChildAlgorithmGraphicItem[source]¶
- Bases: - QgsModelComponentGraphicItem- __init__(child: QgsProcessingModelChildAlgorithm | None, model: QgsProcessingModelAlgorithm | None, parent: QGraphicsItem | None)
- Constructor for QgsModelChildAlgorithmGraphicItem for the specified - child, with the specified- parentitem.- The - modelargument specifies the associated processing model. Ownership of- modelis not transferred, and it must exist for the lifetime of this object.- Ownership of - childis transferred to the item.- Parameters:
- child (Optional[QgsProcessingModelChildAlgorithm]) 
- model (Optional[QgsProcessingModelAlgorithm]) 
- parent (Optional[QGraphicsItem]) 
 
 
 - signal runFromHere[source]¶
- Emitted when the user opts to run the model from this child algorithm. - Added in version 3.38. 
 - signal runSelected[source]¶
- Emitted when the user opts to run selected steps from the model. - Added in version 3.38. 
 - setResults(self, results: QgsProcessingModelChildAlgorithmResult)[source]¶
- Sets the - resultsobtained for this child algorithm for the last model execution through the dialog.- Parameters:
- results (QgsProcessingModelChildAlgorithmResult)