Class LegendImageProvider
ClassList > LegendImageProvider
This class provides legend images for the layer tree model.
#include <legendimageprovider.h>
Inherits the following classes: QQuickImageProvider
Public Functions
| Type | Name |
|---|---|
| LegendImageProvider (QgsLayerTreeModel * layerTreeModel) |
|
| QPixmap | requestPixmap (const QString & id, QSize * size, const QSize & requestedSize) override |
Public Functions Documentation
function LegendImageProvider
explicit LegendImageProvider::LegendImageProvider (
QgsLayerTreeModel * layerTreeModel
)
function requestPixmap
QPixmap LegendImageProvider::requestPixmap (
const QString & id,
QSize * size,
const QSize & requestedSize
) override
The documentation for this class was generated from the following file src/core/legendimageprovider.h