Class: QgsDataDefinedSizeLegendWidget

class qgis.gui.QgsDataDefinedSizeLegendWidget(ddsLegend: QgsDataDefinedSizeLegend, ddSize: QgsProperty, overrideSymbol: QgsMarkerSymbol, canvas: QgsMapCanvas = None, parent: QWidget = None)

Bases: qgis._gui.QgsPanelWidget

Creates the dialog and initializes the content to what is passed in the legend configuration (may be None). The ddSize argument determines scaling of the marker symbol - it should have a size scale transformer assigned to know the range of sizes. The overrideSymbol argument may override the source symbol: this is useful in case when the symbol is given from outside rather than being set inside QgsDataDefinedSizeLegend.

Widget for configuration of appearance of legend for marker symbols with data-defined size.

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
dataDefinedSizeLegend(self) → QgsDataDefinedSizeLegend

Returns configuration as set up in the dialog (may be null). Ownership is passed to the caller.

destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()