mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[layertree] Fix python issues with addLayer()
This commit is contained in:
parent
aa0512653a
commit
da63ba4c41
@ -15,9 +15,9 @@ class QgsLayerTreeGroup : QgsLayerTreeNode
|
||||
QString name() const;
|
||||
void setName( const QString& n );
|
||||
|
||||
QgsLayerTreeGroup* addGroup( const QString& name ) /Factory/;
|
||||
QgsLayerTreeLayer* insertLayer( int index, QgsMapLayer* layer ) /Factory/;
|
||||
QgsLayerTreeLayer* addLayer( QgsMapLayer* layer ) /Factory/;
|
||||
QgsLayerTreeGroup* addGroup( const QString& name );
|
||||
QgsLayerTreeLayer* insertLayer( int index, QgsMapLayer* layer );
|
||||
QgsLayerTreeLayer* addLayer( QgsMapLayer* layer );
|
||||
|
||||
void insertChildNodes( int index, QList<QgsLayerTreeNode*> nodes /Transfer/ );
|
||||
void insertChildNode( int index, QgsLayerTreeNode* node /Transfer/ );
|
||||
|
Loading…
x
Reference in New Issue
Block a user