Class: QgsDataDefinedValueDialog¶
- class qgis.gui.QgsDataDefinedValueDialog¶
Bases:
PyQt5.QtWidgets.QDialog
Utility classes for “en masse” size definition.
QgsDataDefinedValueDialog(symbolList: Iterable[QgsSymbol], layer:
QgsVectorLayer
, label: str) Constructor- Parameters:
symbolList – must not be empty
layer – must not be
None
label –
value label
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.
- context(self) QgsSymbolWidgetContext ¶
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
See also
- Return type:
- dataDefinedChanged(self)¶
- setContext(self, context: QgsSymbolWidgetContext)¶
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
- symbolDataDefined()¶
- vectorLayer(self) QgsVectorLayer ¶
Returns the vector layer associated with the widget.
- Return type: