QgsLayoutValidityCheckContext class

Validity check context for print layout validation.

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

Base classes

class QgsValidityCheckContext
Base class for validity check contexts.

Constructors, destructors, conversion operators

QgsLayoutValidityCheckContext(QgsLayout* layout)
Constructor for QgsLayoutValidityCheckContext for the specified layout.

Public functions

auto type() const -> int override
Returns the context type.

Public variables

QgsLayout* layout
Pointer to the layout which the check is being run against.