Class: QgsGraduatedSymbolRendererWidget

class qgis.gui.QgsGraduatedSymbolRendererWidget(layer: QgsVectorLayer, style: QgsStyle, renderer: QgsFeatureRenderer)

Bases: qgis._gui.QgsRendererWidget

Enums

Methods

actionEvent

addClass

Adds a class manually to the classification

applyChangeToSymbol

Applies current symbol to selected ranges, or to all ranges if none is selected

changeCurrentValue

changeEvent

changeRange

changeRangeSymbol

changeSelectedSymbols

changeSymbolAngle

changeSymbolColor

changeSymbolOpacity

changeSymbolSize

changeSymbolUnit

changeSymbolWidth

childEvent

classifyGraduated

closeEvent

connectNotify

connectUpdateHandlers

contextMenuEvent

contextMenuViewCategories

copy

create

createDataDefinedSizeLegendWidget

customEvent

deleteAllClasses

Removes all classes from the classification

deleteClasses

Removes currently selected classes

destroy

disconnectNotify

disconnectUpdateHandlers

dragEnterEvent

dragLeaveEvent

dragMoveEvent

dropEvent

enterEvent

event

findSymbolForRange

focusInEvent

focusNextChild

focusNextPrevChild

focusOutEvent

focusPreviousChild

graduatedColumnChanged

hideEvent

initPainter

inputMethodEvent

isSignalConnected

keyPressEvent

keyReleaseEvent

labelFormatChanged

leaveEvent

metric

modelDataChanged

mouseDoubleClickEvent

mouseMoveEvent

mousePressEvent

mouseReleaseEvent

moveEvent

nativeEvent

paintEvent

paste

pasteSymbolToSelection

rangesClicked

rangesDoubleClicked

reapplyColorRamp

reapplySizes

receivers

refreshRanges

refreshSymbolView

renderer

resizeEvent

rowsMoved

rowsOrdered

selectedClasses

Returns a list of indexes for the classes under selection

selectedRanges

selectedSymbols

sender

senderSignalIndex

setContext

sharedPainter

showEvent

showSymbolLevels

tabletEvent

timerEvent

toggleBoundariesLink

Toggle the link between classes boundaries

updateMicroFocus

updateUiFromRenderer

wheelEvent

Signals

Attributes

actionEvent()
addClass(self)

Adds a class manually to the classification

applyChangeToSymbol(self)

Applies current symbol to selected ranges, or to all ranges if none is selected

changeCurrentValue(self, item: QStandardItem)
changeEvent()
changeRange(self, rangeIdx: int)
changeRangeSymbol(self, rangeIdx: int)
changeSelectedSymbols(self)
changeSymbolAngle()
changeSymbolColor()
changeSymbolOpacity()
changeSymbolSize()
changeSymbolUnit()
changeSymbolWidth()
childEvent()
classifyGraduated(self)
closeEvent()
connectNotify()
connectUpdateHandlers(self)
contextMenuEvent()
contextMenuViewCategories()
copy()
create(layer: QgsVectorLayer, style: QgsStyle, renderer: QgsFeatureRenderer) → QgsRendererWidget
createDataDefinedSizeLegendWidget()
customEvent()
deleteAllClasses(self)

Removes all classes from the classification

deleteClasses(self)

Removes currently selected classes

destroy()
disconnectNotify()
disconnectUpdateHandlers(self)
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
findSymbolForRange(self, lowerBound: float, upperBound: float, ranges: Iterable[QgsRendererRange]) → QgsSymbol
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
graduatedColumnChanged(self, field: str)
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent(self, event: QKeyEvent)
keyReleaseEvent()
labelFormatChanged(self)
leaveEvent()
metric()
modelDataChanged(self)
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
paste()
pasteSymbolToSelection(self)
rangesClicked(self, idx: QModelIndex)
rangesDoubleClicked(self, idx: QModelIndex)
reapplyColorRamp(self)
reapplySizes(self)
receivers()
refreshRanges(self, reset: bool = False)
refreshSymbolView(self)
renderer(self) → QgsFeatureRenderer
resizeEvent()
rowsMoved(self)
rowsOrdered(self) → bool
selectedClasses(self) → List[int]

Returns a list of indexes for the classes under selection

selectedRanges(self) → List[QgsRendererRange]
selectedSymbols(self) → List[QgsSymbol]
sender()
senderSignalIndex()
setContext(self, context: QgsSymbolWidgetContext)
sharedPainter()
showEvent()
showSymbolLevels(self)
tabletEvent()
timerEvent()

Toggle the link between classes boundaries

updateMicroFocus()
updateUiFromRenderer(self, updateCount: bool = True)
wheelEvent()