Class: QgsProcessingModelComponent¶
-
class
qgis.core.
QgsProcessingModelComponent
(description: str = '')¶ Bases:
sip.wrapper
Only subclasses can be created
QgsProcessingModelComponent(other: QgsProcessingModelComponent) Copies are protected to avoid slicing
Represents a component of a model algorithm.
New in version 3.0: Enums
Methods
Returns the friendly description text for the component.
Returns the position of the model component within the graphical modeler.
Restores the component properties from a QVariantMap.
Saves the component properties to a QVariantMap.
Sets the friendly
description
text for the component.Sets the
position
of the model component within the graphical modeler.Signals
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
-