27 , mLabelingResults( 0 )
40 QgsDebugMsg(
"SEQUENTIAL destruct -- still running! (cancelling)" );
void finished()
emitted when asynchronous rendering is finished (or canceled).
Job implementation that renders everything sequentially using a custom painter.
QgsLabelingResults * mLabelingResults
virtual void waitForFinished()
Block until the job has finished.
static QImage composeImage(const QgsMapSettings &settings, const LayerRenderJobs &jobs)
virtual QImage renderedImage()
Get a preview/resulting image.
virtual QgsLabelingResults * takeLabelingResults()
Get pointer to internal labeling engine (in order to get access to the results)
void setCache(QgsMapRendererCache *cache)
Assign a cache to be used for reading and storing rendered images of individual layers.
The QgsMapSettings class contains configuration for rendering of the map.
virtual void cancel()
Stop the rendering job - does not return until the job has terminated.
virtual bool isActive() const
Tell whether the rendering job is currently running in background.
QSize outputSize() const
Return the size of the resulting map image.
virtual void cancel()
Stop the rendering job - does not return until the job has terminated.
virtual void waitForFinished()
Block until the job has finished.
QgsMapRendererSequentialJob(const QgsMapSettings &settings)
const LayerRenderJobs & jobs() const
virtual void start()
Start the rendering job and immediately return.
virtual QgsLabelingResults * takeLabelingResults()
Get pointer to internal labeling engine (in order to get access to the results)
Intermediate base class adding functionality that allows client to query the rendered image...
QImage::Format outputImageFormat() const
format of internal QImage, default QImage::Format_ARGB32_Premultiplied
QgsMapRendererCustomPainterJob * mInternalJob
Class that stores computed placement from labeling engine.
Errors errors() const
List of errors that happened during the rendering job - available when the rendering has been finishe...
QgsMapRendererCache * mCache
virtual void start()
Start the rendering job and immediately return.
~QgsMapRendererSequentialJob()