Class: QgsLayoutValidityCheckContext

class qgis.core.QgsLayoutValidityCheckContext

Bases: QgsValidityCheckContext

Validity check context for print layout validation.

QgsLayoutValidityCheckContext are passed to QgsAbstractValidityCheck subclasses which indicate they are of the QgsAbstractValidityCheck.TypeLayoutCheck type.

Added in version 3.6.

QgsLayoutValidityCheckContext(layout: Optional[QgsLayout]) Constructor for QgsLayoutValidityCheckContext for the specified layout.

QgsLayoutValidityCheckContext(a0: QgsLayoutValidityCheckContext)

Methods

type

rtype:

int

Attributes

layout
type(self) int
Return type:

int