Class: QgsSimpleFillSymbolLayerWidget

A widget for controlling the properties of a QgsSimpleFillSymbolLayer.

QgsSimpleFillSymbolLayerWidget

QgsSimpleFillSymbolLayerWidget

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSimpleFillSymbolLayerWidget

Base classes

QgsSymbolLayerWidget

Abstract base class for widgets used to configure QgsSymbolLayer classes.

QWidget

QObject

QPaintDevice

QgsExpressionContextGenerator

Abstract interface for generating an expression context.

Methods

setColor

setStrokeColor

Static Methods

create

Creates a new QgsSimpleFillSymbolLayerWidget.

class qgis.gui.QgsSimpleFillSymbolLayerWidget[source]

Bases: QgsSymbolLayerWidget

__init__(vl: QgsVectorLayer | None, parent: QWidget | None = None)

Constructor for QgsSimpleFillSymbolLayerWidget.

Parameters:
static create(vl: QgsVectorLayer | None) QgsSymbolLayerWidget | None[source]

Creates a new QgsSimpleFillSymbolLayerWidget.

Parameters:

vl (Optional[QgsVectorLayer]) – associated vector layer

Return type:

Optional[QgsSymbolLayerWidget]

setColor(self, color: QColor | Qt.GlobalColor | int)[source]
Parameters:

color (Union[QColor, Qt.GlobalColor, int])

setStrokeColor(self, color: QColor | Qt.GlobalColor | int)[source]
Parameters:

color (Union[QColor, Qt.GlobalColor, int])