virtual int type() const =0
Returns the context type.
Base class for validity check contexts.
int type() const override
Returns the context type.
ContextType
Available check context types.
Validity check context for print layout validation.
@ TypeLayoutContext
Layout context, see QgsLayoutValidityCheckContext.
virtual ~QgsValidityCheckContext()=default
QgsLayoutValidityCheckContext(QgsLayout *layout)
Constructor for QgsLayoutValidityCheckContext for the specified layout.