2017-05-14 09:48:41 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaprenderersequentialjob.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
2014-06-22 21:55:09 +07:00
|
|
|
|
|
|
|
|
|
|
|
class QgsMapRendererSequentialJob : QgsMapRendererQImageJob
|
|
|
|
{
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
|
|
|
Job implementation that renders everything sequentially in one thread.
|
|
|
|
|
|
|
|
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 "qgsmaprenderersequentialjob.h"
|
|
|
|
%End
|
2014-06-22 21:55:09 +07:00
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsMapRendererSequentialJob( const QgsMapSettings &settings );
|
2014-06-22 21:55:09 +07:00
|
|
|
~QgsMapRendererSequentialJob();
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
void internalFinished();
|
2017-05-14 09:48:41 +02:00
|
|
|
|
2014-06-22 21:55:09 +07:00
|
|
|
};
|
2017-05-14 09:48:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaprenderersequentialjob.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|