Class: QgsProcessingModelComment

class qgis.core.QgsProcessingModelComment(description: str = '')

Bases: QgsProcessingModelComponent

Constructor for QgsProcessingModelComment with the specified description.

QgsProcessingModelComment(QgsProcessingModelComment)

Represents a comment in a model.

New in version 3.14.

Parameters

description

clone(self)QgsProcessingModelComment
Return type

QgsProcessingModelComment

copyNonDefinitionProperties()
loadVariant(self, map: Dict[str, Any]) → bool

Loads this comment from a QVariantMap.

See also

toVariant()

Parameters

map (Dict[str) –

Return type

bool

restoreCommonProperties()
saveCommonProperties()
toVariant(self) → Any

Saves this comment to a QVariant.

See also

loadVariant()

Return type

Any