QgsRasterBlockFeedback class
Feedback object tailored for raster block reading.
Contents
Base classes
- class QgsFeedback
- Base class for feedback objects to be used for cancelation of something running in a worker thread.
Constructors, destructors, conversion operators
- QgsRasterBlockFeedback(QObject* parent = nullptr)
- Construct a new raster block feedback object.
Public functions
- auto isPreviewOnly() const -> bool
- Whether the raster provider should return only data that are already available without waiting for full result.
- void onNewData() virtual
- May be emitted by raster data provider to indicate that some partial data are available and a new preview image may be produced.
- auto renderPartialOutput() const -> bool
- Whether our painter is drawing to a temporary image used just by this layer.
- void setPreviewOnly(bool preview)
- set flag whether the block request is for preview purposes only
- void setRenderPartialOutput(bool enable)
- Set whether our painter is drawing to a temporary image used just by this layer.
Function documentation
bool QgsRasterBlockFeedback:: isPreviewOnly() const
Whether the raster provider should return only data that are already available without waiting for full result.
By default this flag is not enabled.
bool QgsRasterBlockFeedback:: renderPartialOutput() const
Whether our painter is drawing to a temporary image used just by this layer.
void QgsRasterBlockFeedback:: setPreviewOnly(bool preview)
set flag whether the block request is for preview purposes only
void QgsRasterBlockFeedback:: setRenderPartialOutput(bool enable)
Set whether our painter is drawing to a temporary image used just by this layer.