Subgroup: Processing
Class: QgsProcessingModelComponent¶
-
class
qgis.core.
QgsProcessingModelComponent
¶ Bases:
sip.wrapper
Represents a component of a model algorithm.
New in version 3.0: Methods
description
Returns the friendly description text for the component. position
Returns the position of the model component within the graphical modeler. restoreCommonProperties
Restores the component properties from a QVariantMap. saveCommonProperties
Saves the component properties to a QVariantMap. setDescription
Sets the friendly description
text for the component.setPosition
Sets the position
of the model component within the graphical modeler.Attributes
-
description
(self) → str¶ Returns the friendly description text for the component.
See also
-
position
(self) → QPointF¶ Returns the position of the model component within the graphical modeler.
See also
-
restoreCommonProperties
(self, map: Dict[str, Any])¶ Restores the component properties from a QVariantMap.
See also
-
saveCommonProperties
(self, map: Dict[str, Any])¶ Saves the component properties to a QVariantMap.
See also
-
setDescription
(self, description: str)¶ Sets the friendly
description
text for the component.See also
-
setPosition
(self, position: Union[QPointF, QPoint])¶ Sets the
position
of the model component within the graphical modeler.See also
-