QGIS API Documentation
3.0.2-Girona (307d082)
|
Default legend implementation for raster layers. More...
#include <qgsmaplayerlegend.h>
Public Member Functions | |
QgsDefaultRasterLayerLegend (QgsRasterLayer *rl) | |
QList< QgsLayerTreeModelLegendNode * > | createLayerTreeModelLegendNodes (QgsLayerTreeLayer *nodeLayer) override |
Return list of legend nodes to be used for a particular layer tree layer node. More... | |
Public Member Functions inherited from QgsMapLayerLegend | |
QgsMapLayerLegend (QObject *parent=nullptr) | |
Constructor for QgsMapLayerLegend. More... | |
Additional Inherited Members | |
Signals inherited from QgsMapLayerLegend | |
void | itemsChanged () |
Emitted when existing items/nodes got invalid and should be replaced by new ones. More... | |
Static Public Member Functions inherited from QgsMapLayerLegend | |
static QgsMapLayerLegend * | defaultRasterLegend (QgsRasterLayer *rl) |
Create new legend implementation for raster layer. More... | |
static QgsMapLayerLegend * | defaultVectorLegend (QgsVectorLayer *vl) |
Create new legend implementation for vector layer. More... | |
Default legend implementation for raster layers.
Definition at line 116 of file qgsmaplayerlegend.h.
|
explicit |
Definition at line 226 of file qgsmaplayerlegend.cpp.
|
overridevirtual |
Return list of legend nodes to be used for a particular layer tree layer node.
Ownership is transferred to the caller.
Implements QgsMapLayerLegend.
Definition at line 232 of file qgsmaplayerlegend.cpp.