Class: QgsProcessingModelComment

class qgis.core.QgsProcessingModelComment

Bases: QgsProcessingModelComponent

Represents a comment in a model.

New in version 3.14.

QgsProcessingModelComment(description: str = ‘’) Constructor for QgsProcessingModelComment with the specified description.

QgsProcessingModelComment(QgsProcessingModelComment)

Methods

clone

rtype

QgsProcessingModelComment

loadVariant

Loads this comment from a QVariantMap.

toVariant

Saves this comment to a QVariant.

clone(self) QgsProcessingModelComment
Return type

QgsProcessingModelComment

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

Loads this comment from a QVariantMap.

See also

toVariant()

Parameters

map (Dict[str) –

Return type

bool

toVariant(self) Any

Saves this comment to a QVariant.

See also

loadVariant()

Return type

Any