Subgroup: Map

Class: QgsMapRendererQImageJob

class qgis.core.QgsMapRendererQImageJob

Bases: qgis._core.QgsMapRendererJob

Intermediate base class adding functionality that allows client to query the rendered image. The image can be queried even while the rendering is still in progress to get intermediate result

New in version 2.4: Methods

blockSignals
cancel Stop the rendering job - does not return until the job has terminated.
cancelWithoutBlocking Triggers cancelation of the rendering job without blocking.
childEvent
children
connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
errors List of errors that happened during the rendering job - available when the rendering has been finished
event
eventFilter
featureFilterProvider

New in version 3.0.

findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
inherits
installEventFilter
isActive Tell whether the rendering job is currently running in background.
isSignalConnected
isWidgetType
isWindowType
killTimer
mapSettings Return map settings with which this job was started.
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
renderedImage Get a preview/resulting image
renderingTime Returns the total time it took to finish the job (in milliseconds).
sender
senderSignalIndex
setCache Assign a cache to be used for reading and storing rendered images of individual layers.
setFeatureFilterProvider

New in version 3.0.

setObjectName
setParent
setProperty
signalsBlocked
start Start the rendering job and immediately return.
startTimer
takeLabelingResults Get pointer to internal labeling engine (in order to get access to the results).
thread
timerEvent
tr
usedCachedLabels Returns true if the render job was able to use a cached labeling solution.
waitForFinished Block until the job has finished.

Attributes

destroyed destroyed(self, QObject = None) [signal]
finished emitted when asynchronous rendering is finished (or canceled). [signal]
objectNameChanged objectNameChanged(self, str) [signal]
renderingLayersFinished Emitted when the layers are rendered.
staticMetaObject
childEvent()
connectNotify()
customEvent()
disconnectNotify()
isSignalConnected()
receivers()
renderedImage(self) → QImage

Get a preview/resulting image

sender()
senderSignalIndex()
timerEvent()