Class: QgsDataDefinedValueDialog¶
Utility classes for “en masse” size definition.
Class Hierarchy¶
Base classes¶
Subclasses¶
Methods
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts. |
|
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts. |
|
Returns the vector layer associated with the widget. |
- class qgis.gui.QgsDataDefinedValueDialog[source]¶
Bases:
QDialog
- __init__(symbolList: Iterable[QgsSymbol], layer: QgsVectorLayer | None, label: str | None)
Constructor
- Parameters:
symbolList (Iterable[QgsSymbol]) – must not be empty
layer (Optional[QgsVectorLayer]) – must not be
None
label (Optional[str]) – value label
- context(self) QgsSymbolWidgetContext [source]¶
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
See also
- Return type:
- setContext(self, context: QgsSymbolWidgetContext)[source]¶
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
- Parameters:
context (QgsSymbolWidgetContext) – symbol widget context
See also
- vectorLayer(self) QgsVectorLayer | None [source]¶
Returns the vector layer associated with the widget.
- Return type:
Optional[QgsVectorLayer]