16 #ifndef QGSMAPRENDERERSEQUENTIALJOB_H 17 #define QGSMAPRENDERERSEQUENTIALJOB_H 38 virtual void start()
override;
39 virtual void cancel()
override;
42 virtual bool isActive()
const override;
51 void internalFinished();
62 #endif // QGSMAPRENDERERSEQUENTIALJOB_H
Job implementation that renders everything sequentially using a custom painter.
QgsLabelingResults * mLabelingResults
virtual QImage renderedImage()=0
Get a preview/resulting image.
The QgsMapSettings class contains configuration for rendering of the map.
virtual void waitForFinished()=0
Block until the job has finished.
virtual void start()=0
Start the rendering job and immediately return.
Job implementation that renders everything sequentially in one thread.
Intermediate base class adding functionality that allows client to query the rendered image...
QgsMapRendererCustomPainterJob * mInternalJob
virtual void cancel()=0
Stop the rendering job - does not return until the job has terminated.
virtual void cancelWithoutBlocking()=0
Triggers cancellation of the rendering job without blocking.
Class that stores computed placement from labeling engine.
virtual QgsLabelingResults * takeLabelingResults()=0
Get pointer to internal labeling engine (in order to get access to the results)
virtual bool isActive() const =0
Tell whether the rendering job is currently running in background.