QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
Public Member Functions inherited from QgsValidityCheckContext | |
virtual | ~QgsValidityCheckContext ()=default |
Public Attributes | |
QgsLayout * | layout = nullptr |
Pointer to the layout which the check is being run against. | |
Additional Inherited Members | |
Public Types inherited from QgsValidityCheckContext | |
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.