Class: QgsProcessingModelGroupBox

class qgis.core.QgsProcessingModelGroupBox

Bases: QgsProcessingModelComponent

Represents a group box in a model.

New in version 3.14.

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

QgsProcessingModelGroupBox(QgsProcessingModelGroupBox)

Methods

clone

rtype

QgsProcessingModelGroupBox

copyNonDefinitionProperties

Copies all non-specific definition properties from the other component definition.

loadVariant

Loads this group box from a QVariantMap.

restoreCommonProperties

Restores the component properties from a QVariantMap.

saveCommonProperties

Saves the component properties to a QVariantMap.

toVariant

Saves this group box to a QVariant.

uuid

Returns the unique ID associated with this group box.

clone(self)QgsProcessingModelGroupBox
Return type

QgsProcessingModelGroupBox

copyNonDefinitionProperties(self, other: QgsProcessingModelComponent)

Copies all non-specific definition properties from the other component definition.

This includes properties like the size and position of the component, but not properties like the specific algorithm or input details.

New in version 3.14.

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

Loads this group box from a QVariantMap.

See also

toVariant()

Parameters
  • map (Dict[str) –

  • ignoreUuid (bool = False) –

Return type

bool

restoreCommonProperties(self, map: Dict[str, Any])

Restores the component properties from a QVariantMap.

saveCommonProperties(self, map: Dict[str, Any])

Saves the component properties to a QVariantMap.

toVariant(self)Any

Saves this group box to a QVariant.

See also

loadVariant()

Return type

Any

uuid(self)str

Returns the unique ID associated with this group box.

Return type

str