Class: QgsEffectStackPropertiesDialog

A dialog for modifying the properties of a QgsEffectStack, including adding and reordering effects within the stack.

See also

QgsEffectStack

QgsEffectStackPropertiesDialog

QgsEffectStackPropertiesDialog

Class Hierarchy

Inheritance diagram of qgis.gui.QgsEffectStackPropertiesDialog

Base classes

QgsDialog

A generic dialog with layout and button box.

QDialog

QWidget

QObject

QPaintDevice

class qgis.gui.QgsEffectStackPropertiesDialog[source]

Bases: QgsDialog

__init__(stack: QgsEffectStack | None, parent: QWidget | None = None, f: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())

QgsEffectStackPropertiesDialog constructor

Parameters:
  • stack (Optional[QgsEffectStack]) – QgsEffectStack to modify in the dialog

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

  • f (Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags()) – window flags

setPreviewPicture(self, picture: QPicture)[source]

Sets the picture to use for effect previews for the dialog

Parameters:

picture (QPicture) – preview picture

stack(self) QgsEffectStack | None[source]

Returns effect stack attached to the dialog

Return type:

Optional[QgsEffectStack]

Returns:

QgsEffectStack modified by the dialog