QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Attributes | List of all members
QgsSublayersDialog::LayerDefinition Struct Reference

A structure that defines layers for the purpose of this dialog. More...

#include <qgssublayersdialog.h>

Public Attributes

int count = -1
 Number of features (might be unused) More...
 
QString description
 Description. Added in QGIS 3.10. More...
 
int layerId = -1
 Identifier of the layer (one unique layer id may have multiple types though) More...
 
QString layerName
 Name of the layer (not necessarily unique) More...
 
QString type
 Extra type depending on the use (e.g. geometry type for vector sublayers) More...
 

Detailed Description

A structure that defines layers for the purpose of this dialog.

Since
QGIS 2.16

Definition at line 75 of file qgssublayersdialog.h.

Member Data Documentation

◆ count

int QgsSublayersDialog::LayerDefinition::count = -1

Number of features (might be unused)

Definition at line 79 of file qgssublayersdialog.h.

◆ description

QString QgsSublayersDialog::LayerDefinition::description

Description. Added in QGIS 3.10.

Definition at line 81 of file qgssublayersdialog.h.

◆ layerId

int QgsSublayersDialog::LayerDefinition::layerId = -1

Identifier of the layer (one unique layer id may have multiple types though)

Definition at line 77 of file qgssublayersdialog.h.

◆ layerName

QString QgsSublayersDialog::LayerDefinition::layerName

Name of the layer (not necessarily unique)

Definition at line 78 of file qgssublayersdialog.h.

◆ type

QString QgsSublayersDialog::LayerDefinition::type

Extra type depending on the use (e.g. geometry type for vector sublayers)

Definition at line 80 of file qgssublayersdialog.h.


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