Subgroup: Data

Class: QgsDataDefinedSizeLegendNode

class qgis.core.QgsDataDefinedSizeLegendNode

Bases: qgis._core.QgsLayerTreeModelLegendNode

Produces legend node with a marker symbol

New in version 3.0: Methods

blockSignals
childEvent
children
connectNotify
createTemporaryRenderContext
customEvent
data
deleteLater
disconnect
disconnectNotify
draw
drawSymbol Draws symbol on the left side of the item
drawSymbolText Draws label on the right side of the item
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
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]
flags Return item flags associated with the item.
inherits
installEventFilter
invalidateMapBasedData Notification from model that information from associated map view has changed.
isEmbeddedInParent
isScaleOK
isSignalConnected
isWidgetType
isWindowType
killTimer
layerNode Return pointer to the parent layer node
metaObject
model Return pointer to model owning this legend node
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
sender
senderSignalIndex
setData Set some data associated with the item.
setEmbeddedInParent
setObjectName
setParent
setProperty
setUserLabel
signalsBlocked
startTimer
thread
timerEvent
tr
userLabel

Attributes

ParentRuleKeyRole
RuleKeyRole
dataChanged Emitted on internal data change so the layer tree model can forward the signal to views [signal]
destroyed destroyed(self, QObject = None) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
childEvent()
connectNotify()
createTemporaryRenderContext()
customEvent()
data(self, role: int) → Any
disconnectNotify()
draw(self, settings: QgsLegendSettings, ctx: QgsLayerTreeModelLegendNode.ItemContext) → QgsLayerTreeModelLegendNode.ItemMetrics
isSignalConnected()
receivers()
sender()
senderSignalIndex()
timerEvent()