Class: QgsGeometryCheckResolutionMethod

class qgis.analysis.QgsGeometryCheckResolutionMethod(id: int, name: str, description: str, isStable: bool = True)

Bases: sip.wrapper

Creates a new method with the specified parameters.

QgsGeometryCheckResolutionMethod(QgsGeometryCheckResolutionMethod)

This class implements a resolution for problems detected in geometry checks.

New in version 3.12.

Parameters
  • id (int) –

  • name (str) –

  • description (str) –

  • isStable

description(self) → str

A human readable and translated description for this fix.

Return type

str

id(self) → int

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

Return type

int

isStable(self) → bool

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

Return type

bool

name(self) → str

A human readable and translated name for this fix.

Return type

str