Class: QgsSimpleFillSymbolLayerWidget

A widget for controlling the properties of a QgsSimpleFillSymbolLayer.

QgsSimpleFillSymbolLayerWidget

QgsSimpleFillSymbolLayerWidget

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSimpleFillSymbolLayerWidget

Base classes

QgsSymbolLayerWidget

Abstract base class for widgets used to configure QgsSymbolLayer classes.

QWidget

QObject

QPaintDevice

class qgis.gui.QgsSimpleFillSymbolLayerWidget[source]

Bases: QgsSymbolLayerWidget

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

Constructor for QgsSimpleFillSymbolLayerWidget.

Parameters:
  • vl (Optional[QgsVectorLayer]) – associated vector layer

  • parent (Optional[QWidget] = None) – parent widget

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)[source]
Parameters:

color (Union[QColor, Qt.GlobalColor])

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

color (Union[QColor, Qt.GlobalColor])