Class: QgsRendererRulePropsWidget¶
-
class
qgis.gui.
QgsRendererRulePropsWidget
(rule: QgsRuleBasedRenderer.Rule, layer: QgsVectorLayer, style: QgsStyle, parent: QWidget = None, context: QgsSymbolWidgetContext = QgsSymbolWidgetContext())¶ Bases:
QgsPanelWidget
Widget to edit the details of a rule based renderer rule.
- Parameters
rule (QgsRuleBasedRenderer.Rule) – The rule to edit.
layer (QgsVectorLayer) – The layer used to pull layer related information.
style (QgsStyle) – The active QGIS style.
parent (QWidget = None) – The parent widget.
context (
QgsSymbolWidgetContext
= QgsSymbolWidgetContext()) –the symbol widget context
Methods
Apply any changes from the widget to the set rule.
Open the expression builder widget to check if the
Returns the current set rule.
Set the widget in dock mode.
Test the filter that is set in the widget
-
actionEvent
()¶
-
apply
(self)¶ Apply any changes from the widget to the set rule.
-
buildExpression
(self)¶ Open the expression builder widget to check if the
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
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
()¶
-
rule
(self) → QgsRuleBasedRenderer.Rule¶ Returns the current set rule.
- Return type
- Returns
The current rule.
-
sender
()¶
-
senderSignalIndex
()¶
-
setDockMode
(self, dockMode: bool)¶ Set the widget in dock mode.
- Parameters
dockMode (bool) – True for dock mode.
-
showEvent
()¶
-
tabletEvent
()¶
-
testFilter
(self)¶ Test the filter that is set in the widget
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶