QGIS API Documentation
2.6.0-Brighton
|
A zip file: contains layers, using GDAL/OGR VSIFILE mechanism. More...
#include <qgsdataitem.h>
Public Member Functions | |
QgsZipItem (QgsDataItem *parent, QString name, QString path) | |
~QgsZipItem () | |
QVector< QgsDataItem * > | createChildren () |
const QStringList & | getZipFileList () |
Public Member Functions inherited from QgsDataCollectionItem | |
QgsDataCollectionItem (QgsDataItem *parent, QString name, QString path=QString::null) | |
~QgsDataCollectionItem () | |
void | setPopulated () |
void | addChild (QgsDataItem *item) |
Public Member Functions inherited from QgsDataItem | |
QgsDataItem (QgsDataItem::Type type, QgsDataItem *parent, QString name, QString path) | |
virtual | ~QgsDataItem () |
bool | hasChildren () |
int | rowCount () |
virtual void | refresh () |
virtual void | populate () |
bool | isPopulated () |
virtual void | addChildItem (QgsDataItem *child, bool refresh=false) |
virtual void | deleteChildItem (QgsDataItem *child) |
virtual QgsDataItem * | removeChildItem (QgsDataItem *child) |
virtual bool | equal (const QgsDataItem *other) |
virtual QWidget * | paramWidget () |
virtual QList< QAction * > | actions () |
virtual bool | acceptDrop () |
virtual bool | handleDrop (const QMimeData *, Qt::DropAction) |
virtual bool | setCrs (QgsCoordinateReferenceSystem crs) |
virtual Capability | capabilities () |
Type | type () const |
QgsDataItem * | parent () const |
void | setParent (QgsDataItem *parent) |
QVector< QgsDataItem * > | children () const |
QIcon | icon () const |
QString | name () const |
QString | path () const |
void | setIcon (QIcon icon) |
void | setToolTip (QString msg) |
QString | toolTip () const |
Static Public Member Functions | |
static QString | vsiPrefix (QString uri) |
static QgsDataItem * | itemFromPath (QgsDataItem *parent, QString path, QString name) |
static const QIcon & | iconZip () |
Static Public Member Functions inherited from QgsDataCollectionItem | |
static const QIcon & | iconDir () |
static const QIcon & | iconDataCollection () |
Static Public Member Functions inherited from QgsDataItem | |
static int | findItem (QVector< QgsDataItem * > items, QgsDataItem *item) |
Static Public Attributes | |
static QVector< dataItem_t * > | mDataItemPtr = QVector<dataItem_t*>() |
static QStringList | mProviderNames = QStringList() |
Protected Attributes | |
QString | mVsiPrefix |
QStringList | mZipFileList |
Additional Inherited Members | |
Public Types inherited from QgsDataItem | |
enum | Type { Collection, Directory, Layer, Error, Favourites } |
enum | Capability { NoCapabilities = 0, SetCrs = 1 } |
Public Slots inherited from QgsDataItem | |
void | emitBeginInsertItems (QgsDataItem *parent, int first, int last) |
void | emitEndInsertItems () |
void | emitBeginRemoveItems (QgsDataItem *parent, int first, int last) |
void | emitEndRemoveItems () |
Signals inherited from QgsDataItem | |
void | beginInsertItems (QgsDataItem *parent, int first, int last) |
void | endInsertItems () |
void | beginRemoveItems (QgsDataItem *parent, int first, int last) |
void | endRemoveItems () |
A zip file: contains layers, using GDAL/OGR VSIFILE mechanism.
QgsZipItem::QgsZipItem | ( | QgsDataItem * | parent, |
QString | name, | ||
QString | path | ||
) |
QgsZipItem::~QgsZipItem | ( | ) |
|
virtual |
Reimplemented from QgsDataItem.
const QStringList & QgsZipItem::getZipFileList | ( | ) |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
protected |
|
protected |