QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Functions
qgslayertreemodel.cpp File Reference
#include "qgslayertreemodel.h"
#include "qgslayertree.h"
#include "qgslayertreeutils.h"
#include "qgslayertreemodellegendnode.h"
#include <QMimeData>
#include <QTextStream>
#include "qgsdataitem.h"
#include "qgsmaphittest.h"
#include "qgsmaplayerlegend.h"
#include "qgsmaplayerstylemanager.h"
#include "qgspluginlayer.h"
#include "qgsrasterlayer.h"
#include "qgsrendererv2.h"
#include "qgssymbollayerv2utils.h"
#include "qgsvectorlayer.h"
Include dependency graph for qgslayertreemodel.cpp:

Go to the source code of this file.

Functions

static bool _isChildOfNode (QgsLayerTreeNode *child, QgsLayerTreeNode *node)
 
static bool _isChildOfNodes (QgsLayerTreeNode *child, const QList< QgsLayerTreeNode *> &nodes)
 
static QList< QgsLayerTreeLayer * > _layerNodesInSubtree (QgsLayerTreeNode *node, int indexFrom, int indexTo)
 
static int _numLayerCount (QgsLayerTreeGroup *group, const QString &layerId)
 

Function Documentation

◆ _isChildOfNode()

static bool _isChildOfNode ( QgsLayerTreeNode child,
QgsLayerTreeNode node 
)
static

Definition at line 460 of file qgslayertreemodel.cpp.

◆ _isChildOfNodes()

static bool _isChildOfNodes ( QgsLayerTreeNode child,
const QList< QgsLayerTreeNode *> &  nodes 
)
static

Definition at line 471 of file qgslayertreemodel.cpp.

◆ _layerNodesInSubtree()

static QList<QgsLayerTreeLayer*> _layerNodesInSubtree ( QgsLayerTreeNode node,
int  indexFrom,
int  indexTo 
)
static

Definition at line 721 of file qgslayertreemodel.cpp.

◆ _numLayerCount()

static int _numLayerCount ( QgsLayerTreeGroup group,
const QString layerId 
)
static

Definition at line 895 of file qgslayertreemodel.cpp.