Class: QgsGraduatedHistogramWidget

class qgis.gui.QgsGraduatedHistogramWidget(parent: QWidget = None)

Bases: QgsHistogramWidget

QgsGraduatedHistogramWidget constructor

Parameters

parent (QWidget = None) – parent widget

Graphical histogram for displaying distribution of field values and editing range breaks for a QgsGraduatedSymbolRenderer renderer.

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
drawHistogram(self)
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
rangesModified

Emitted when the user modifies the graduated ranges using the histogram widget.

Parameters

rangesAdded (bool) – True if the user has added ranges, False if the user has just modified existing range breaks [signal]

receivers()
resizeEvent()
sender()
senderSignalIndex()
setRenderer(self, renderer: QgsGraduatedSymbolRenderer)

Sets the QgsGraduatedSymbolRenderer renderer associated with the histogram. The histogram will fetch the ranges from the renderer before every refresh.

Parameters

renderer (QgsGraduatedSymbolRenderer) – associated QgsGraduatedSymbolRenderer

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()