Skip to content

Class AsyncLegendImageProvider

ClassList > AsyncLegendImageProvider

This class prepares asynchrnous legend images requests. Used for online WMS and AMS layers.

  • #include <legendimageprovider.h>

Inherits the following classes: QQuickAsyncImageProvider

Public Functions

Type Name
AsyncLegendImageProvider (QgsLayerTreeModel * layerTreeModel)
QQuickImageResponse * requestImageResponse (const QString & id, const QSize & requestedSize) override
void setMapSettings (QgsQuickMapSettings * mapSettings)

Public Functions Documentation

function AsyncLegendImageProvider

explicit AsyncLegendImageProvider::AsyncLegendImageProvider (
    QgsLayerTreeModel * layerTreeModel
) 

function requestImageResponse

QQuickImageResponse * AsyncLegendImageProvider::requestImageResponse (
    const QString & id,
    const QSize & requestedSize
) override

function setMapSettings

void AsyncLegendImageProvider::setMapSettings (
    QgsQuickMapSettings * mapSettings
) 


The documentation for this class was generated from the following file src/core/legendimageprovider.h