Class: QgsGeometryCheckResolutionMethod

Implements a resolution for problems detected in geometry checks.

Added in version 3.12.

Methods

description

A human readable and translated description for this fix.

id

An id that is unique per check.

isStable

If this fix is stable enough to be listed by default.

name

A human readable and translated name for this fix.

class qgis.analysis.QgsGeometryCheckResolutionMethod[source]

Bases: object

__init__(id: int, name: str | None, description: str | None, isStable: bool = True)

Creates a new method with the specified parameters.

Parameters:
  • id (int)

  • name (Optional[str])

  • description (Optional[str])

  • isStable (bool = True)

__init__(a0: QgsGeometryCheckResolutionMethod)
Parameters:

a0 (QgsGeometryCheckResolutionMethod)

description(self) str[source]

A human readable and translated description for this fix.

Return type:

str

id(self) int[source]

An id that is unique per check. This will be used to trigger resolutions.

Return type:

int

isStable(self) bool[source]

If this fix is stable enough to be listed by default.

Return type:

bool

name(self) str[source]

A human readable and translated name for this fix.

Return type:

str