Class: QgsRuleBasedRendererWidget

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

Bases: qgis._gui.QgsRendererWidget

Enums

Methods

actionEvent
addRule
changeEvent
changeSymbolAngle
changeSymbolColor
changeSymbolOpacity
changeSymbolSize
changeSymbolUnit
changeSymbolWidth
childEvent
clearFeatureCounts
closeEvent
connectNotify
contextMenuEvent
contextMenuViewCategories
copy
countFeatures
create
createDataDefinedSizeLegendWidget
currentRule
currentRuleChanged
customEvent
destroy
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
editRule editRule(self, index: QModelIndex)
enterEvent
event
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
paste
receivers
refineRule
refineRuleCategories
refineRuleCategoriesGui Opens the dialog for refining a rule using categories
refineRuleRanges
refineRuleRangesGui Opens the dialog for refining a rule using ranges
refineRuleScales
refineRuleScalesGui
refreshSymbolView
removeRule
renderer
resizeEvent
restoreSectionWidths
saveSectionWidth
selectedRules
selectedRulesChanged
selectedSymbols
sender
senderSignalIndex
setRenderingOrder
sharedPainter
showEvent
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

Attributes

actionEvent()
addRule(self)
changeEvent()
changeSymbolAngle()
changeSymbolColor()
changeSymbolOpacity()
changeSymbolSize()
changeSymbolUnit()
changeSymbolWidth()
childEvent()
clearFeatureCounts(self)
closeEvent()
connectNotify()
contextMenuEvent()
contextMenuViewCategories()
copy(self)
countFeatures(self)
create(layer: QgsVectorLayer, style: QgsStyle, renderer: QgsFeatureRenderer) → QgsRendererWidget
createDataDefinedSizeLegendWidget()
currentRule(self) → QgsRuleBasedRenderer.Rule
currentRuleChanged(self, current: QModelIndex = QModelIndex(), previous: QModelIndex = QModelIndex())
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
editRule(self)

editRule(self, index: QModelIndex)

enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent(self, event: QKeyEvent)
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
paste(self)
receivers()
refineRule(self, type: int)
refineRuleCategories(self)
refineRuleCategoriesGui(self)

Opens the dialog for refining a rule using categories

refineRuleRanges(self)
refineRuleRangesGui(self)

Opens the dialog for refining a rule using ranges

refineRuleScales(self)
refineRuleScalesGui(self, index: object)
refreshSymbolView(self)
removeRule(self)
renderer(self) → QgsFeatureRenderer
resizeEvent()
restoreSectionWidths(self)
saveSectionWidth(self, section: int, oldSize: int, newSize: int)
selectedRules(self) → object
selectedRulesChanged(self)
selectedSymbols(self) → List[QgsSymbol]
sender()
senderSignalIndex()
setRenderingOrder(self)
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()