Class: QgsValidityCheckContext¶
- class qgis.core.QgsValidityCheckContext¶
Bases:
sip.wrapper
Base class for validity check contexts.
QgsAbstractValidityCheck
subclasses are passed aQgsValidityCheckContext
subclass which encapsulates the context around that particular check type. For instance, aQgsAbstractValidityCheck
of theQgsAbstractValidityCheck
.TypeLayoutCheck type will be passed aQgsLayoutValidityCheckContext
context, containing a reference to theQgsLayout
to be checked.- class ContextType¶
Bases:
int
- TypeLayoutContext = 1¶
- TypeUserContext = 10001¶
- type(self) → int¶
Returns the context type.
- Return type
int