Skip to content

Class QfAsyncLegendImageProvider

ClassList > QfAsyncLegendImageProvider

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

  • #include <qflegendimageprovider.h>

Inherits the following classes: QQuickAsyncImageProvider

Public Functions

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

Public Functions Documentation

function QfAsyncLegendImageProvider

explicit QfAsyncLegendImageProvider::QfAsyncLegendImageProvider (
    QgsLayerTreeModel * layerTreeModel
) 

function requestImageResponse

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

function setMapSettings

void QfAsyncLegendImageProvider::setMapSettings (
    QgsQuickMapSettings * mapSettings
) 


The documentation for this class was generated from the following file src/gui/qflegendimageprovider.h