Subgroup: Raster

Class: QgsRasterBlockFeedback

class qgis.core.QgsRasterBlockFeedback(parent: QObject = None)

Bases: qgis._core.QgsFeedback

Construct a new raster block feedback object

Feedback object tailored for raster block reading.

New in version 3.0: Methods

childEvent
connectNotify
customEvent
disconnectNotify
isPreviewOnly Whether the raster provider should return only data that are already available without waiting for full result.
isSignalConnected
onNewData May be emitted by raster data provider to indicate that some partial data are available and a new preview image may be produced
receivers
renderPartialOutput Whether our painter is drawing to a temporary image used just by this layer
sender
senderSignalIndex
setPreviewOnly set flag whether the block request is for preview purposes only
setRenderPartialOutput Set whether our painter is drawing to a temporary image used just by this layer
timerEvent

Signals

Attributes

childEvent()
connectNotify()
customEvent()
disconnectNotify()
isPreviewOnly(self) → bool

Whether the raster provider should return only data that are already available without waiting for full result. By default this flag is not enabled.

See also

setPreviewOnly()

isSignalConnected()
onNewData(self)

May be emitted by raster data provider to indicate that some partial data are available and a new preview image may be produced

receivers()
renderPartialOutput(self) → bool

Whether our painter is drawing to a temporary image used just by this layer

sender()
senderSignalIndex()
setPreviewOnly(self, preview: bool)

set flag whether the block request is for preview purposes only

See also

isPreviewOnly()

setRenderPartialOutput(self, enable: bool)

Set whether our painter is drawing to a temporary image used just by this layer

timerEvent()