QgsZipItem class

A zip file: contains layers, using GDAL/OGR VSIFILE mechanism.

Base classes

class QgsDataCollectionItem
A Collection: logical collection of layers or subcollections, e.g.

Public static variables

static QVector<dataItem_t*> sDataItemPtr

Public static functions

static auto itemFromPath(QgsDataItem* parent, const QString& path, const QString& name) -> QgsDataItem*
Creates a new data item from the specified path.
static auto itemFromPath(QgsDataItem* parent, const QString& filePath, const QString& name, const QString& path) -> QgsDataItem*
Creates a new data item from the specified path.

Public functions

auto createChildren() -> QVector<QgsDataItem*> override
Create children.

Function documentation

static QgsDataItem* QgsZipItem::itemFromPath(QgsDataItem* parent, const QString& filePath, const QString& name, const QString& path)

Creates a new data item from the specified path.

QVector<QgsDataItem*> QgsZipItem::createChildren() override

Create children.

Children are not expected to have parent set. This method MUST BE THREAD SAFE.

Variable documentation

static QVector<dataItem_t*> QgsZipItem::sDataItemPtr