Class: QgsZipItem

class qgis.core.QgsZipItem

Bases: QgsDataCollectionItem

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

Methods

childEvent

connectNotify

createChildren

rtype

object

customEvent

deferredDelete

disconnectNotify

getZipFileList

rtype

List[str]

homeDirIcon

iconZip

rtype

QIcon

isSignalConnected

itemFromFilePath

Creates a new data item from the specified path.

itemFromPath

Creates a new data item from the specified path.

openDirIcon

populate

receivers

refresh

sender

senderSignalIndex

timerEvent

updateIcon

vsiPrefix

param uri

Attributes

sProviderNames

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