16 #ifndef QGSMAPLAYERLEGEND_H 17 #define QGSMAPLAYERLEGEND_H 28 #include "qgis_core.h" 77 static void setLegendNodeOrder(
QgsLayerTreeLayer *nodeLayer,
const QList<int> &order );
81 static void setLegendNodeUserLabel(
QgsLayerTreeLayer *nodeLayer,
int originalIndex,
const QString &newLabel );
82 static QString legendNodeUserLabel(
QgsLayerTreeLayer *nodeLayer,
int originalIndex );
83 static bool hasLegendNodeUserLabel(
QgsLayerTreeLayer *nodeLayer,
int originalIndex );
86 static void applyLayerNodeProperties(
QgsLayerTreeLayer *nodeLayer, QList<QgsLayerTreeModelLegendNode *> &nodes );
130 #endif // QGSMAPLAYERLEGEND_H
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
Base class for plugin layers.
Default legend implementation for raster layers.
virtual QList< QgsLayerTreeModelLegendNode * > createLayerTreeModelLegendNodes(QgsLayerTreeLayer *nodeLayer)=0
Return list of legend nodes to be used for a particular layer tree layer node.
The QgsMapLayerLegend class is abstract interface for implementations of legends for one map layer...
Miscellaneous utility functions for handling of map layer legend.
The QgsLegendRendererItem class is abstract interface for legend items returned from QgsMapLayerLegen...
Default legend implementation for vector layers.
Represents a vector layer which manages a vector based data sets.
Layer tree node points to a map layer.