QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Go to the source code of this file.
Namespaces | |
QgsLayerTree | |
Namespace with helper functions for layer tree operations. | |
Functions | |
bool | QgsLayerTree::isGroup (QgsLayerTreeNode *node) |
Check whether the node is a valid group node. More... | |
bool | QgsLayerTree::isLayer (QgsLayerTreeNode *node) |
Check whether the node is a valid layer node. More... | |
QgsLayerTreeGroup * | QgsLayerTree::toGroup (QgsLayerTreeNode *node) |
Cast node to a group. No type checking is done - use isGroup() to find out whether this operation is legal. More... | |
QgsLayerTreeLayer * | QgsLayerTree::toLayer (QgsLayerTreeNode *node) |
Cast node to a layer. No type checking is done - use isLayer() to find out whether this operation is legal. More... | |