16 #ifndef QGSLAYERTREEGROUP_H
17 #define QGSLAYERTREEGROUP_H
19 #include "qgis_core.h"
51 QString
name()
const override;
56 void setName(
const QString &n )
override;
81 void insertChildNodes(
int index,
const QList<QgsLayerTreeNode *> &nodes
SIP_TRANSFER );
106 void removeChildren(
int from,
int count );
111 void removeChildrenGroupWithoutLayers();
116 void removeAllChildren();
132 QList<QgsLayerTreeLayer *> findLayers()
const;
137 QStringList findLayerIds()
const;
147 QList<QgsLayerTreeGroup *> findGroups()
const;
176 QString
dump()
const override;
198 bool isMutuallyExclusive()
const;
206 void setIsMutuallyExclusive(
bool enabled,
int initialChildIndex = -1 );
216 void updateChildVisibilityMutuallyExclusive();
220 bool mChangingChildVisibility =
false;
223 bool mMutuallyExclusive =
false;
229 int mMutuallyExclusiveChildIndex = -1;
246 #endif // QGSLAYERTREEGROUP_H