mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-07 00:05:28 -04:00
QgsMapRendererJob and subclasses are not designed to be subclassed outside of core QGIS code. Marking them private API allows us to change them after API is frozen again.
30 lines
761 B
Plaintext
30 lines
761 B
Plaintext
|
|
/** Job implementation that renders all layers in parallel.
|
|
*
|
|
* The resulting map image can be retrieved with renderedImage() function.
|
|
* It is safe to call that function while rendering is active to see preview of the map.
|
|
*
|
|
* @note added in 2.4
|
|
*/
|
|
class QgsMapRendererParallelJob : QgsMapRendererQImageJob
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsmaprendererparalleljob.h>
|
|
%End
|
|
|
|
public:
|
|
QgsMapRendererParallelJob( const QgsMapSettings& settings );
|
|
~QgsMapRendererParallelJob();
|
|
|
|
virtual void start();
|
|
virtual void cancel();
|
|
virtual void waitForFinished();
|
|
virtual bool isActive() const;
|
|
|
|
virtual QgsLabelingResults* takeLabelingResults() /Transfer/;
|
|
|
|
// from QgsMapRendererJobWithPreview
|
|
virtual QImage renderedImage();
|
|
|
|
};
|