QGIS API Documentation 3.41.0-Master (3c143d501a8)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsLayerTreeRegistryBridge::InsertionPoint Struct Reference

A structure to define the insertion point to the layer tree. More...

#include <qgslayertreeregistrybridge.h>

Public Member Functions

 InsertionPoint (QgsLayerTreeGroup *group, int position)
 Constructs an insertion point as layer tree group with its corresponding position.
 

Public Attributes

QgsLayerTreeGroupgroup = nullptr
 
int position = 0
 

Detailed Description

A structure to define the insertion point to the layer tree.

This represents the current layer tree group and index where newly added map layers should be inserted into.

Since
QGIS 3.10

Definition at line 54 of file qgslayertreeregistrybridge.h.

Constructor & Destructor Documentation

◆ InsertionPoint()

QgsLayerTreeRegistryBridge::InsertionPoint::InsertionPoint ( QgsLayerTreeGroup group,
int  position 
)
inline

Constructs an insertion point as layer tree group with its corresponding position.

Definition at line 57 of file qgslayertreeregistrybridge.h.

Member Data Documentation

◆ group

QgsLayerTreeGroup* QgsLayerTreeRegistryBridge::InsertionPoint::group = nullptr

Definition at line 60 of file qgslayertreeregistrybridge.h.

◆ position

int QgsLayerTreeRegistryBridge::InsertionPoint::position = 0

Definition at line 61 of file qgslayertreeregistrybridge.h.


The documentation for this struct was generated from the following file: