16 #ifndef QGSLAYERTREE_H 17 #define QGSLAYERTREE_H 59 #endif // QGSLAYERTREE_H Layer tree group node serves as a container for layers and further groups.
NodeType nodeType()
Find out about type of the node. It is usually shorter to use convenience functions from QgsLayerTree...
QgsLayerTreeGroup * toGroup(QgsLayerTreeNode *node)
Cast node to a group. No type checking is done - use isGroup() to find out whether this operation is ...
Namespace with helper functions for layer tree operations.
This class is a base class for nodes in a layer tree.
bool isLayer(QgsLayerTreeNode *node)
Check whether the node is a valid layer node.
leaf node pointing to a layer
QgsLayerTreeLayer * toLayer(QgsLayerTreeNode *node)
Cast node to a layer. No type checking is done - use isLayer() to find out whether this operation is ...
container of other groups and layers
bool isGroup(QgsLayerTreeNode *node)
Check whether the node is a valid group node.
Layer tree node points to a map layer.