Class: QgsProcessingToolboxModelAlgorithmNode¶
- class qgis.gui.QgsProcessingToolboxModelAlgorithmNode¶
Bases:
QgsProcessingToolboxModelNode
Processing toolbox model node corresponding to an algorithm.
Warning
Not part of stable API and may change in future QGIS releases.
Added in version 3.4.
QgsProcessingToolboxModelAlgorithmNode(algorithm: Optional[QgsProcessingAlgorithm]) Constructor for
QgsProcessingToolboxModelAlgorithmNode
, associated with the specifiedalgorithm
.Methods
Returns the algorithm associated with this node.
- rtype:
QgsProcessingToolboxModelNode.NodeType
- algorithm(self) QgsProcessingAlgorithm | None ¶
Returns the algorithm associated with this node.
- Return type:
Optional[QgsProcessingAlgorithm]
- childEvent(self, a0: QChildEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- customEvent(self, a0: QEvent | None)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- nodeType(self) QgsProcessingToolboxModelNode.NodeType ¶
- Return type:
- receivers(self, signal: PYQT_SIGNAL) int ¶
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- timerEvent(self, a0: QTimerEvent | None)¶