Class: QgsPaintEffectWidget

Base class for effect properties widgets.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: setPaintEffect()

Class Hierarchy

Inheritance diagram of qgis.gui.QgsPaintEffectWidget

Base classes

QWidget

QObject

QPaintDevice

Subclasses

QgsBlurWidget

A widget for configuring QgsBlurEffect effects.

QgsColorEffectWidget

A widget for configuring QgsColorEffect effects.

QgsDrawSourceWidget

A widget for configuring QgsDrawSourceEffect effects.

QgsGlowWidget

A widget for configuring QgsGlowEffect effects.

QgsShadowEffectWidget

A widget for configuring QgsShadowEffect effects.

QgsTransformWidget

A widget for configuring QgsTransformEffect effects.

class qgis.gui.QgsPaintEffectWidget[source]

Bases: QWidget

signal changed[source]

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

abstract setPaintEffect(self, effect: QgsPaintEffect | None)[source]

Sets the paint effect to modify with the widget

Parameters:

effect (Optional[QgsPaintEffect]) – paint effect