QGIS API Documentation
2.6.0-Brighton
|
Default legend implementation for vector layers. More...
#include <qgsmaplayerlegend.h>
Public Member Functions | |
QgsDefaultVectorLayerLegend (QgsVectorLayer *vl) | |
virtual QList < QgsLayerTreeModelLegendNode * > | createLayerTreeModelLegendNodes (QgsLayerTreeLayer *nodeLayer) |
Return list of legend nodes to be used for a particular layer tree layer node. | |
Public Member Functions inherited from QgsMapLayerLegend | |
QgsMapLayerLegend (QObject *parent=0) |
Additional Inherited Members | |
Signals inherited from QgsMapLayerLegend | |
void | itemsChanged () |
Emitted when existing items/nodes got invalid and should be replaced by new ones. | |
Static Public Member Functions inherited from QgsMapLayerLegend | |
static QgsMapLayerLegend * | defaultVectorLegend (QgsVectorLayer *vl) |
Create new legend implementation for vector layer. | |
static QgsMapLayerLegend * | defaultRasterLegend (QgsRasterLayer *rl) |
Create new legend implementation for raster layer. | |
static QgsMapLayerLegend * | defaultPluginLegend (QgsPluginLayer *pl) |
Create new legend implementation for raster layer. |
Default legend implementation for vector layers.
|
explicit |
|
virtual |
Return list of legend nodes to be used for a particular layer tree layer node.
Ownership is transferred to the caller.
Implements QgsMapLayerLegend.