Class: QgsWmsLegendNode

class qgis.core.QgsWmsLegendNode(nodeLayer: QgsLayerTreeLayer, parent: QObject = None)

Bases: qgis._core.QgsLayerTreeModelLegendNode

Constructor for QgsWmsLegendNode.

Parameters:
  • nodeLayer – layer node
  • parent – attach a parent QObject to the legend node.

Implementation of legend node interface for displaying WMS legend entries

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()