QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
Structure that stores all data associated with one map layer. More...
#include <qgslayertreemodel.h>
Public Member Functions | |
LayerLegendData ()=default | |
Public Attributes | |
QList< QgsLayerTreeModelLegendNode * > | activeNodes |
Active legend nodes. More... | |
QgsLayerTreeModelLegendNode * | embeddedNodeInParent = nullptr |
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... | |
LayerLegendTree * | tree = nullptr |
Optional pointer to a tree structure - see LayerLegendTree for details. More... | |
Structure that stores all data associated with one map layer.
Definition at line 388 of file qgslayertreemodel.h.
|
default |
QList<QgsLayerTreeModelLegendNode *> QgsLayerTreeModel::LayerLegendData::activeNodes |
Active legend nodes.
May have been filtered. Owner of legend nodes is still originalNodes !
Definition at line 396 of file qgslayertreemodel.h.
QgsLayerTreeModelLegendNode* QgsLayerTreeModel::LayerLegendData::embeddedNodeInParent = nullptr |
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 403 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 409 of file qgslayertreemodel.h.
LayerLegendTree* QgsLayerTreeModel::LayerLegendData::tree = nullptr |
Optional pointer to a tree structure - see LayerLegendTree for details.
Definition at line 411 of file qgslayertreemodel.h.