QGIS API Documentation
2.8.2-Wien
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
core
qgsmaprenderersequentialjob.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaprenderersequentialjob.h
3
--------------------------------------
4
Date : December 2013
5
Copyright : (C) 2013 by Martin Dobias
6
Email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSMAPRENDERERSEQUENTIALJOB_H
17
#define QGSMAPRENDERERSEQUENTIALJOB_H
18
19
#include "
qgsmaprendererjob.h
"
20
21
class
QgsMapRendererCustomPainterJob
;
22
30
class
CORE_EXPORT
QgsMapRendererSequentialJob
:
public
QgsMapRendererQImageJob
31
{
32
Q_OBJECT
33
public
:
34
QgsMapRendererSequentialJob
(
const
QgsMapSettings
& settings );
35
~
QgsMapRendererSequentialJob
();
36
37
virtual
void
start
()
override
;
38
virtual
void
cancel
()
override
;
39
virtual
void
waitForFinished
()
override
;
40
virtual
bool
isActive
()
const override
;
41
42
virtual
QgsLabelingResults
*
takeLabelingResults
()
override
;
43
44
// from QgsMapRendererJobWithPreview
45
virtual
QImage
renderedImage
()
override
;
46
47
public
slots:
48
49
void
internalFinished();
50
51
protected
:
52
53
QgsMapRendererCustomPainterJob
*
mInternalJob
;
54
QImage
mImage
;
55
QPainter*
mPainter
;
56
QgsLabelingResults
*
mLabelingResults
;
57
};
58
59
60
#endif // QGSMAPRENDERERSEQUENTIALJOB_H
Generated on Sun May 10 2015 16:33:24 for QGIS API Documentation by
1.8.1.2