Subgroup: Cpt

Class: QgsCptCityDataItem

class qgis.core.QgsCptCityDataItem

Bases: PyQt5.QtCore.QObject

Base class for all items in the model

AllRamps = 4
Collection = 1
ColorRamp = 0
Directory = 2
Selection = 3
class Type

Bases: int

acceptDrop(self) → bool
actions(self) → List[QAction]
addChildItem(self, child: QgsCptCityDataItem, refresh: bool = False)
beginInsertItems

beginInsertItems(self, QgsCptCityDataItem, int, int) [signal]

beginRemoveItems

beginRemoveItems(self, QgsCptCityDataItem, int, int) [signal]

childEvent()
children(self) → object
connectNotify()
createChildren(self) → object
customEvent()
deleteChildItem(self, child: QgsCptCityDataItem)
disconnectNotify()
endInsertItems

endInsertItems(self) [signal]

endRemoveItems

endRemoveItems(self) [signal]

equal(self, other: QgsCptCityDataItem) → bool
findItem(items: object, item: QgsCptCityDataItem) → int
handleDrop(self, QMimeData, Qt.DropAction) → bool
hasChildren(self) → bool
icon(self) → QIcon

icon(self, size: QSize) -> QIcon

info(self) → str
isPopulated(self) → bool
isSignalConnected()
isValid(self) → bool
leafCount(self) → int
name(self) → str
paramWidget(self) → QWidget
parent(self) → QgsCptCityDataItem
path(self) → str
populate(self)
receivers()
refresh(self)
removeChildItem(self, child: QgsCptCityDataItem) → QgsCptCityDataItem
rowCount(self) → int
sender()
senderSignalIndex()
setIcon(self, icon: QIcon)
setParent(self, parent: QgsCptCityDataItem)
setToolTip(self, msg: str)
shortInfo(self) → str
timerEvent()
toolTip(self) → str
type(self) → QgsCptCityDataItem.Type