QGIS API Documentation  2.18.3-Las Palmas (77b8c3d)
Public Member Functions | Public Attributes | List of all members
QgsLayerTreeModel::LayerLegendData Struct Reference

Structure that stores all data associated with one map layer. More...

#include <qgslayertreemodel.h>

Public Member Functions

 LayerLegendData ()
 

Public Attributes

QList< QgsLayerTreeModelLegendNode * > activeNodes
 Active legend nodes. More...
 
QgsLayerTreeModelLegendNodeembeddedNodeInParent
 A legend node that is not displayed separately, its icon is instead shown within the layer node's item. More...
 
QList< QgsLayerTreeModelLegendNode * > originalNodes
 Data structure for storage of legend nodes. More...
 
LayerLegendTreetree
 Optional pointer to a tree structure - see LayerLegendTree for details. More...
 

Detailed Description

Structure that stores all data associated with one map layer.

Note
not available in Python bindings

Definition at line 319 of file qgslayertreemodel.h.

Constructor & Destructor Documentation

QgsLayerTreeModel::LayerLegendData::LayerLegendData ( )
inline

Definition at line 321 of file qgslayertreemodel.h.

Member Data Documentation

QList<QgsLayerTreeModelLegendNode*> QgsLayerTreeModel::LayerLegendData::activeNodes

Active legend nodes.

May have been filtered. Owner of legend nodes is still originalNodes !

Definition at line 329 of file qgslayertreemodel.h.

QgsLayerTreeModelLegendNode* QgsLayerTreeModel::LayerLegendData::embeddedNodeInParent

A legend node that is not displayed separately, its icon is instead shown within the layer node's item.

May be null. if non-null, node is owned by originalNodes !

Definition at line 333 of file qgslayertreemodel.h.

QList<QgsLayerTreeModelLegendNode*> QgsLayerTreeModel::LayerLegendData::originalNodes

Data structure for storage of legend nodes.

These are nodes as received from QgsMapLayerLegend

Definition at line 336 of file qgslayertreemodel.h.

LayerLegendTree* QgsLayerTreeModel::LayerLegendData::tree

Optional pointer to a tree structure - see LayerLegendTree for details.

Definition at line 338 of file qgslayertreemodel.h.


The documentation for this struct was generated from the following file: