Subgroup: other

Class: QgsWmsLegendNode

class qgis.core.QgsWmsLegendNode

Bases: qgis._core.QgsLayerTreeModelLegendNode

Implementation of legend node interface for displaying WMS legend entries

New in version 2.8: Methods

blockSignals
childEvent
children
connectNotify
createTemporaryRenderContext
customEvent
data
deleteLater
disconnect
disconnectNotify
draw Entry point called from QgsLegendRenderer to do the rendering.
drawSymbol
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
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()
drawSymbol(self, settings: QgsLegendSettings, ctx: QgsLayerTreeModelLegendNode.ItemContext, itemHeight: float) → QSizeF
invalidateMapBasedData(self)
isSignalConnected()
receivers()
sender()
senderSignalIndex()
timerEvent()