QgsEffectStackPropertiesDialog class

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

Base classes

class QgsDialog
A generic dialog with layout and button box.

Constructors, destructors, conversion operators

QgsEffectStackPropertiesDialog(QgsEffectStack* stack, QWidget* parent = nullptr, Qt::WindowFlags f = nullptr)
QgsEffectStackPropertiesDialog constructor.

Public functions

void setPreviewPicture(const QPicture& picture)
Sets the picture to use for effect previews for the dialog.
auto stack() -> QgsEffectStack*
Returns effect stack attached to the dialog.

Function documentation

QgsEffectStackPropertiesDialog::QgsEffectStackPropertiesDialog(QgsEffectStack* stack, QWidget* parent = nullptr, Qt::WindowFlags f = nullptr)

QgsEffectStackPropertiesDialog constructor.

Parameters
stack QgsEffectStack to modify in the dialog
parent parent widget
f window flags

void QgsEffectStackPropertiesDialog::setPreviewPicture(const QPicture& picture)

Sets the picture to use for effect previews for the dialog.

Parameters
picture preview picture

QgsEffectStack* QgsEffectStackPropertiesDialog::stack()

Returns effect stack attached to the dialog.

Returns QgsEffectStack modified by the dialog