QGIS API Documentation  2.99.0-Master (8ec3eaf)
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 "qgsrenderer.h"
#include "qgssymbollayerutils.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 446 of file qgslayertreemodel.cpp.

§ _isChildOfNodes()

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

Definition at line 457 of file qgslayertreemodel.cpp.

§ _layerNodesInSubtree()

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

Definition at line 696 of file qgslayertreemodel.cpp.

§ _numLayerCount()

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

Definition at line 870 of file qgslayertreemodel.cpp.