QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
Validity check context for print layout validation. More...
#include <qgsvaliditycheckcontext.h>
Public Member Functions | |
QgsLayoutValidityCheckContext (QgsLayout *layout) | |
Constructor for QgsLayoutValidityCheckContext for the specified layout. | |
int | type () const override |
Returns the context type. | |
![]() | |
virtual | ~QgsValidityCheckContext ()=default |
Public Attributes | |
QgsLayout * | layout = nullptr |
Pointer to the layout which the check is being run against. | |
Additional Inherited Members | |
![]() | |
enum | ContextType { TypeLayoutContext = 1 , TypeUserContext = 10001 } |
Available check context types. More... | |
Validity check context for print layout validation.
QgsLayoutValidityCheckContext are passed to QgsAbstractValidityCheck subclasses which indicate they are of the QgsAbstractValidityCheck::TypeLayoutCheck type.
Definition at line 75 of file qgsvaliditycheckcontext.h.
|
inline |
Constructor for QgsLayoutValidityCheckContext for the specified layout.
Definition at line 82 of file qgsvaliditycheckcontext.h.
|
inlineoverridevirtual |
Returns the context type.
Implements QgsValidityCheckContext.
Definition at line 86 of file qgsvaliditycheckcontext.h.
QgsLayout* QgsLayoutValidityCheckContext::layout = nullptr |
Pointer to the layout which the check is being run against.
Definition at line 91 of file qgsvaliditycheckcontext.h.