QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
QgsZipItem Class Reference

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

#include <qgsdataitem.h>

Inheritance diagram for QgsZipItem:
Inheritance graph
[legend]

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 QgsDataItemremoveChildItem (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
QgsDataItemparent () 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 QgsDataItemitemFromPath (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 ()

Detailed Description

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

Constructor & Destructor Documentation

QgsZipItem::QgsZipItem ( QgsDataItem parent,
QString  name,
QString  path 
)
QgsZipItem::~QgsZipItem ( )

Member Function Documentation

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

Reimplemented from QgsDataItem.

const QStringList & QgsZipItem::getZipFileList ( )
const QIcon & QgsZipItem::iconZip ( )
static
QgsDataItem * QgsZipItem::itemFromPath ( QgsDataItem parent,
QString  path,
QString  name 
)
static
static QString QgsZipItem::vsiPrefix ( QString  uri)
inlinestatic

Member Data Documentation

QVector< dataItem_t * > QgsZipItem::mDataItemPtr = QVector<dataItem_t*>()
static
Note
not available via python bindings
QStringList QgsZipItem::mProviderNames = QStringList()
static
QString QgsZipItem::mVsiPrefix
protected
QStringList QgsZipItem::mZipFileList
protected

The documentation for this class was generated from the following files: