Class: QgsZipItem

class qgis.core.QgsZipItem(parent: QgsDataItem, name: str, path: str)

Bases: QgsDataCollectionItem

Constructor

QgsZipItem(parent: QgsDataItem, name: str, filePath: str, path: str, providerKey: str = ‘’) Constructor

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

Parameters
childEvent()
connectNotify()
createChildren(self) → object
Return type

object

customEvent()
deferredDelete()
disconnectNotify()
getZipFileList(self) → List[str]
Return type

List[str]

homeDirIcon()
iconZip() → QIcon
Return type

QIcon

isSignalConnected()
itemFromFilePath(parent: QgsDataItem, filePath: str, name: str, path: str)QgsDataItem

Creates a new data item from the specified path.

Note

available in Python as itemFromFilePath

Parameters
  • parent (QgsDataItem) –

  • filePath (str) –

  • name (str) –

  • path (str) –

Return type

QgsDataItem

itemFromPath(parent: QgsDataItem, path: str, name: str)QgsDataItem

Creates a new data item from the specified path.

Parameters
  • parent (QgsDataItem) –

  • path (str) –

  • name (str) –

Return type

QgsDataItem

openDirIcon()
populate()
receivers()
refresh()
sProviderNames = []
sender()
senderSignalIndex()
timerEvent()
updateIcon()
vsiPrefix(uri: str) → str
Parameters

uri (str) –

Return type

str