Class: QgsGeometryCheckResolutionMethod

class qgis.analysis.QgsGeometryCheckResolutionMethod

Bases: sip.wrapper

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

New in version 3.12.

QgsGeometryCheckResolutionMethod(id: int, name: str, description: str, isStable: bool = True) Creates a new method with the specified parameters.

QgsGeometryCheckResolutionMethod(QgsGeometryCheckResolutionMethod)

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.

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