59 SIP_PYOBJECT __repr__();
61 QString str = u
"<QgsLayerTreeGroup: %1>"_s.arg( sipCpp->name() );
62 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
70 QString
name()
const override;
75 void setName(
const QString &n )
override;
77 QString
id()
const override {
return mId; }
104 QgsLayerTreeCustomNode *insertCustomNode(
int index,
const QString &
id,
const QString &name = QString() );
123 void insertChildNodes(
int index,
const QList<QgsLayerTreeNode *> &nodes
SIP_TRANSFER );
155 void removeChildren(
int from,
int count );
160 void removeChildrenGroupWithoutLayers();
165 void removeAllChildren();
182 QList<QgsLayerTreeLayer *> findLayers()
const;
197 QList<QgsLayerTreeNode *> findLayersAndCustomNodes()
const;
213 void reorderGroupLayers(
const QList< QgsMapLayer * > &order );
230 void reorderGroupLayersAndCustomNodes(
const QList< QgsLayerTreeNode * > &order );
240 QList<QgsMapLayer *> layerOrderRespectingGroupLayers() const
SIP_SKIP;
256 QStringList findLayerIds() const;
261 QStringList findCustomNodeIds() const;
294 void readChildrenFromXml( const QDomElement &element, const
QgsReadWriteContext &context );
299 QString dump() const override;
309 void resolveReferences( const
QgsProject *project,
bool looseMatching = false ) override;
314 void setItemVisibilityCheckedRecursive(
bool checked ) override;
319 bool isMutuallyExclusive() const;
326 void setIsMutuallyExclusive(
bool enabled,
int initialChildIndex = -1 );
388 void setHasWmsTimeDimension( const
bool hasWmsTimeDimension );
399 bool hasWmsTimeDimension() const;
412 Qgis::WmsGroupRequestMode wmsGroupRequestMode() const;
422 void setWmsGroupRequestMode(
Qgis::WmsGroupRequestMode groupRequestMode );
432 void updateChildVisibilityMutuallyExclusive();
467 void setId(
const QString &
id );
478 void updateGroupLayers();
479 void refreshParentGroupLayerMembers();
486 std::unique_ptr< QgsMapLayerServerProperties > mServerProperties;
A container for the context for various read/write operations on objects.