QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsDefaultPluginLayerLegend Class Reference

Default legend implementation for plugin layers. More...

#include <qgsmaplayerlegend.h>

Inheritance diagram for QgsDefaultPluginLayerLegend:
Inheritance graph
[legend]

Public Member Functions

 QgsDefaultPluginLayerLegend (QgsPluginLayer *pl)
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 QgsMapLayerLegenddefaultVectorLegend (QgsVectorLayer *vl)
 Create new legend implementation for vector layer.
static QgsMapLayerLegenddefaultRasterLegend (QgsRasterLayer *rl)
 Create new legend implementation for raster layer.
static QgsMapLayerLegenddefaultPluginLegend (QgsPluginLayer *pl)
 Create new legend implementation for raster layer.

Detailed Description

Default legend implementation for plugin layers.

Note
added in 2.6

Constructor & Destructor Documentation

QgsDefaultPluginLayerLegend::QgsDefaultPluginLayerLegend ( QgsPluginLayer pl)
explicit

Member Function Documentation

QList< QgsLayerTreeModelLegendNode * > QgsDefaultPluginLayerLegend::createLayerTreeModelLegendNodes ( QgsLayerTreeLayer nodeLayer)
virtual

Return list of legend nodes to be used for a particular layer tree layer node.

Ownership is transferred to the caller.

Implements QgsMapLayerLegend.


The documentation for this class was generated from the following files: