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, a QgsAbstractValidityCheck of the QgsAbstractValidityCheck.TypeLayoutCheck type will be passed a QgsLayoutValidityCheckContext context, containing a reference to theQgsLayout
to be checked.New in version 3.6:
Methods
Returns the context type.
Attributes
- class ContextType¶
Bases:
int
- TypeLayoutContext = 1¶
- TypeUserContext = 10001¶
- type(self) int ¶
Returns the context type.
- Return type
int