16 #ifndef QGSMAPRENDERERPARALLELJOB_H 17 #define QGSMAPRENDERERPARALLELJOB_H 36 virtual void start()
override;
37 virtual void cancel()
override;
40 virtual bool isActive()
const override;
49 void renderLayersFinished();
51 void renderingFinished();
80 void renderLayersFinishedWhenJobCanceled();
84 #endif // QGSMAPRENDERERPARALLELJOB_H QgsRenderContext mLabelingRenderContext
The QgsLabelingEngineV2 class provides map labeling functionality.
QgsPalLabeling * mLabelingEngine
Old labeling engine.
virtual QImage renderedImage()=0
Get a preview/resulting image.
QFutureWatcher< void > mFutureWatcher
The QgsMapSettings class contains configuration for rendering of the map.
QFuture< void > mLabelingFuture
LayerRenderJobs mLayerJobs
Job implementation that renders all layers in parallel.
virtual void waitForFinished()=0
Block until the job has finished.
virtual void start()=0
Start the rendering job and immediately return.
QgsLabelingEngineV2 * mLabelingEngineV2
New labeling engine.
Contains information about the context of a rendering operation.
Intermediate base class adding functionality that allows client to query the rendered image...
QFutureWatcher< void > mLabelingFutureWatcher
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.
Structure keeping low-level rendering job information.