Class: QgsMapRendererAbstractCustomPainterJob

class qgis.core.QgsMapRendererAbstractCustomPainterJob(settings: QgsMapSettings)

Bases: qgis._core.QgsMapRendererJob

Constructor for QgsMapRendererAbstractCustomPainterJob, using the given map settings.

Abstract base class for map renderer jobs which use custom painters.

New in version 3.10: Enums

Methods

childEvent

connectNotify

customEvent

disconnectNotify

isSignalConnected

preparePainter

Prepares the given painter ready for a map render.

receivers

sender

senderSignalIndex

timerEvent

Signals

Attributes

childEvent()
connectNotify()
customEvent()
disconnectNotify()
isSignalConnected()
preparePainter(self, painter: QPainter, backgroundColor: Union[QColor, Qt.GlobalColor] = Qt.transparent)

Prepares the given painter ready for a map render.

The backgroundColor argument specifies the color to use for the map’s background.

receivers()
sender()
senderSignalIndex()
timerEvent()