Class: QgsProjectItem

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

Bases: qgis._core.QgsDataItem

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

Parameters:
  • parent – The parent data item.
  • name – The name of the of the project. Displayed to the user.
  • path – The full path to the project.

Data item that can be used to represent QGIS projects.

childEvent()
connectNotify()
customEvent()
deferredDelete()
disconnectNotify()
hasDragEnabled(self) → bool
isSignalConnected()
mimeUri(self) → QgsMimeDataUtils.Uri
populate()
receivers()
refresh()
sender()
senderSignalIndex()
timerEvent()
updateIcon()