Class: QgsProcessingModelParameter¶
-
class
qgis.core.
QgsProcessingModelParameter
(parameterName: str = '')¶ Bases:
qgis._core.QgsProcessingModelComponent
Constructor for QgsProcessingModelParameter. The parameter name should match one of the parameters from the parent model.
QgsProcessingModelParameter(QgsProcessingModelParameter)
Represents an input parameter used by the model.
New in version 3.0: Enums
Methods
Loads this parameter from a QVariantMap.
Returns the associated parameter name.
Sets the associated parameter name.
Saves this parameter to a QVariant.
Signals
Attributes
-
loadVariant
(self, map: Dict[str, Any]) → bool¶ Loads this parameter from a QVariantMap.
See also
-
parameterName
(self) → str¶ Returns the associated parameter name. The parameter name should match one of the parameters from the parent model.
See also
-
restoreCommonProperties
()¶
-
saveCommonProperties
()¶
-
setParameterName
(self, name: str)¶ Sets the associated parameter name. The parameter name should match one of the parameters from the parent model.
See also
-
toVariant
(self) → Any¶ Saves this parameter to a QVariant.
See also
-