Class: QgsGradientFillSymbolLayerWidget¶
A widget for controlling the properties of a
QgsGradientFillSymbolLayer.
QgsGradientFillSymbolLayerWidget in a default state¶
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Abstract base class for widgets used to configure |
|
Abstract interface for generating an expression context. |
Methods
Applies the color ramp passed on by the color ramp button |
|
Static Methods
Creates a new QgsGradientFillSymbolLayerWidget. |
- class qgis.gui.QgsGradientFillSymbolLayerWidget[source]¶
Bases:
QgsSymbolLayerWidget- __init__(vl: QgsVectorLayer | None, parent: QWidget | None = None)
Constructor for QgsGradientFillSymbolLayerWidget.
- Parameters:
vl (Optional[QgsVectorLayer]) – associated vector layer
parent (Optional[QWidget] = None) – parent widget
- static create(vl: QgsVectorLayer | None) QgsSymbolLayerWidget | None[source]¶
Creates a new QgsGradientFillSymbolLayerWidget.
- Parameters:
vl (Optional[QgsVectorLayer]) – associated vector layer
- Return type:
- setColor(self, color: QColor | Qt.GlobalColor | int)[source]¶
- Parameters:
color (Union[QColor, Qt.GlobalColor, int])