Skip to content

Class QfLegendImageProvider

ClassList > QfLegendImageProvider

This class provides legend images for the layer tree model.

  • #include <qflegendimageprovider.h>

Inherits the following classes: QQuickImageProvider

Public Functions

Type Name
QfLegendImageProvider (QgsLayerTreeModel * layerTreeModel)
QPixmap requestPixmap (const QString & id, QSize * size, const QSize & requestedSize) override

Public Functions Documentation

function QfLegendImageProvider

explicit QfLegendImageProvider::QfLegendImageProvider (
    QgsLayerTreeModel * layerTreeModel
) 

function requestPixmap

QPixmap QfLegendImageProvider::requestPixmap (
    const QString & id,
    QSize * size,
    const QSize & requestedSize
) override


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