Class: QgsProjectItem

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

Bases: QgsDataItem

A data item holding a reference to a QGIS project file.

Parameters
  • parent (QgsDataItem) – The parent data item.

  • name (str) – The name of the of the project. Displayed to the user.

  • path (str) – The full path to the project.

  • providerKey (str = '') – key of the provider that created this item

Data item that can be used to represent QGIS projects.

childEvent()
connectNotify()
customEvent()
deferredDelete()
disconnectNotify()
hasDragEnabled(self) → bool
Return type

bool

isSignalConnected()
mimeUri(self) → QgsMimeDataUtils.Uri
Return type

QgsMimeDataUtils.Uri

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