17#ifndef QGSLAYOUTVALIDITYCHECKS_H
18#define QGSLAYOUTVALIDITYCHECKS_H
38 QString
id()
const override;
44 QList<QgsValidityCheckResult> mResults;
60 QString
id()
const override;
66 QList<QgsValidityCheckResult> mResults;
82 QString
id()
const override;
88 QList<QgsValidityCheckResult> mResults;
104 QString
id()
const override;
110 QList<QgsValidityCheckResult> mResults;
Abstract base class for individual validity checks.
virtual bool prepareCheck(const QgsValidityCheckContext *context, QgsFeedback *feedback)
Prepares the check for execution, and returns true if the check can be run.
virtual QString id() const =0
Returns the unique ID of the check.
virtual int checkType() const =0
Returns the type of the check.
virtual QgsAbstractValidityCheck * create() const =0
Creates a new instance of the check and returns it.
virtual QList< QgsValidityCheckResult > runCheck(const QgsValidityCheckContext *context, QgsFeedback *feedback)=0
Runs the check and returns a list of results.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Layout north arrow validity check.
Layout overview validity check.
Layout picture source validity check.
Layout scalebar validity check.
Base class for validity check contexts.