Subgroup: Cpt

Class: QgsCptCityDataItem

class qgis.core.QgsCptCityDataItem

Bases: PyQt5.QtCore.QObject

Base class for all items in the model

Methods

acceptDrop
actions
addChildItem
blockSignals
childEvent
children
connectNotify
createChildren
customEvent
deleteChildItem
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
equal
event
eventFilter
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
findItem
handleDrop
hasChildren
icon icon(self, size: QSize) -> QIcon
info
inherits
installEventFilter
isPopulated
isSignalConnected
isValid
isWidgetType
isWindowType
killTimer
leafCount
metaObject
moveToThread
name
objectName
paramWidget
parent
path
populate
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
refresh
removeChildItem
removeEventFilter
rowCount
sender
senderSignalIndex
setIcon
setObjectName
setParent
setProperty
setToolTip
shortInfo
signalsBlocked
startTimer
thread
timerEvent
toolTip
tr
type

Attributes

AllRamps
Collection
ColorRamp
Directory
Selection
beginInsertItems beginInsertItems(self, QgsCptCityDataItem, int, int) [signal]
beginRemoveItems beginRemoveItems(self, QgsCptCityDataItem, int, int) [signal]
destroyed destroyed(self, QObject = None) [signal]
endInsertItems endInsertItems(self) [signal]
endRemoveItems endRemoveItems(self) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
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