2017-05-14 09:48:41 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaprendererparalleljob.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
2014-06-22 21:55:09 +07:00
|
|
|
|
|
|
|
class QgsMapRendererParallelJob : QgsMapRendererQImageJob
|
|
|
|
{
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
|
|
|
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.
|
|
|
|
|
|
|
|
.. versionadded:: 2.4
|
2014-06-22 21:55:09 +07:00
|
|
|
%End
|
|
|
|
|
2017-05-14 09:48:41 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmaprendererparalleljob.h"
|
|
|
|
%End
|
2014-06-22 21:55:09 +07:00
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsMapRendererParallelJob( const QgsMapSettings &settings );
|
2014-06-22 21:55:09 +07:00
|
|
|
~QgsMapRendererParallelJob();
|
|
|
|
|
|
|
|
virtual void start();
|
|
|
|
virtual void cancel();
|
2017-03-02 12:00:09 +10:00
|
|
|
virtual void cancelWithoutBlocking();
|
2014-06-22 21:55:09 +07:00
|
|
|
virtual void waitForFinished();
|
|
|
|
virtual bool isActive() const;
|
|
|
|
|
2017-05-14 09:48:41 +02:00
|
|
|
virtual bool usedCachedLabels() const;
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual QgsLabelingResults *takeLabelingResults() /Transfer/;
|
2014-06-22 21:55:09 +07:00
|
|
|
|
|
|
|
virtual QImage renderedImage();
|
|
|
|
|
|
|
|
};
|
2017-05-14 09:48:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaprendererparalleljob.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|