Class: QgsProcessingModelComment¶
Represents a comment in a model.
Added in version 3.14.
Class Hierarchy¶
Base classes¶
Represents a component of a model algorithm. |
Methods
Loads this comment from a QVariantMap. |
|
Saves this comment to a QVariant. |
- class qgis.core.QgsProcessingModelComment[source]¶
Bases:
QgsProcessingModelComponent
- __init__(description: str | None = '')
Constructor for QgsProcessingModelComment with the specified
description
.- Parameters:
description (Optional[str] = '')
- __init__(a0: QgsProcessingModelComment)
- Parameters:
- loadVariant(self, map: Dict[str, Any]) bool [source]¶
Loads this comment from a QVariantMap.
See also
- Parameters:
map (Dict[str, Any])
- Return type:
bool