21 #include "qgis_core.h"
43 QgsZipItem(
QgsDataItem *parent,
const QString &name,
const QString &filePath,
const QString &path,
const QString &providerKey = QString() );
46 SIP_PYOBJECT __repr__();
48 QString
str = QStringLiteral(
"<QgsZipItem: \"%1\" %2>" ).arg( sipCpp->name(), sipCpp->path() );
49 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
54 QStringList getZipFileList();
60 static QVector<dataItem_t *> sDataItemPtr
SIP_SKIP;
76 static QIcon iconZip();
A Collection: logical collection of layers or subcollections, e.g.
Base class for all items in the model.
virtual QVector< QgsDataItem * > createChildren()
Create children.
virtual bool hasDragEnabled() const
Returns true if the item may be dragged.
virtual QgsMimeDataUtils::UriList mimeUris() const
Returns mime URIs for the data item, most data providers will only return a single URI but some data ...
QList< QgsMimeDataUtils::Uri > UriList
A zip file: contains layers, using GDAL/OGR VSIFILE mechanism.
static QString vsiPrefix(const QString &uri)
static QStringList sProviderNames
QString qgsVsiPrefix(const QString &path)