Class: QgsDataCollectionItem

class qgis.core.QgsDataCollectionItem(parent: QgsDataItem, name: str, path: str = '', providerKey: str = '')

Bases: QgsDataItem

Constructor

A Collection: logical collection of layers or subcollections, e.g. GRASS location/mapset, database? wms source?

Parameters
  • parent (QgsDataItem) –

  • name (str) –

  • path (str = '') –

  • providerKey

addChild(self, item: QgsDataItem)
Parameters

item (QgsDataItem) –

childEvent()
connectNotify()
customEvent()
deferredDelete()
disconnectNotify()
homeDirIcon() → QIcon

Shared home directory icon.

New in version 3.4.

Return type

QIcon

iconDataCollection() → QIcon

Returns the standard browser data collection icon.

See also

iconDir()

Return type

QIcon

iconDir() → QIcon

Returns the standard browser directory icon.

Return type

QIcon

isSignalConnected()
openDirIcon() → QIcon

Shared open directory icon.

New in version 3.4.

Return type

QIcon

populate()
receivers()
refresh()
sender()
senderSignalIndex()
timerEvent()
updateIcon()