QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | Protected Attributes | List of all members
QgsEffectStackPropertiesDialog Class Reference

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

#include <qgseffectstackpropertieswidget.h>

Inheritance diagram for QgsEffectStackPropertiesDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsEffectStackPropertiesDialog (QgsEffectStack *stack, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 QgsEffectStackPropertiesDialog constructor. More...
 
void setPreviewPicture (const QPicture &picture)
 Sets the picture to use for effect previews for the dialog. More...
 
QgsEffectStackstack ()
 Returns effect stack attached to the dialog. More...
 
- Public Member Functions inherited from QgsDialog
 QgsDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags, QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Close, Qt::Orientation orientation=Qt::Horizontal)
 Constructor for QgsDialog. More...
 
QDialogButtonBox * buttonBox ()
 Returns the button box. More...
 
QVBoxLayout * layout ()
 Returns the central layout. Widgets added to it must have this dialog as parent. More...
 

Protected Attributes

QgsEffectStackPropertiesWidgetmPropertiesWidget = nullptr
 
- Protected Attributes inherited from QgsDialog
QDialogButtonBox * mButtonBox = nullptr
 
QVBoxLayout * mLayout = nullptr
 

Detailed Description

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

See also
QgsEffectStack
QgsEffectStackPropertiesWidget
QgsEffectStackCompactWidget

Definition at line 167 of file qgseffectstackpropertieswidget.h.

Constructor & Destructor Documentation

◆ QgsEffectStackPropertiesDialog()

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

QgsEffectStackPropertiesDialog constructor.

Parameters
stackQgsEffectStack to modify in the dialog
parentparent widget
fwindow flags

Definition at line 363 of file qgseffectstackpropertieswidget.cpp.

Member Function Documentation

◆ setPreviewPicture()

void QgsEffectStackPropertiesDialog::setPreviewPicture ( const QPicture &  picture)

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

Parameters
picturepreview picture

Definition at line 381 of file qgseffectstackpropertieswidget.cpp.

◆ stack()

QgsEffectStack * QgsEffectStackPropertiesDialog::stack ( )

Returns effect stack attached to the dialog.

Returns
QgsEffectStack modified by the dialog

Definition at line 376 of file qgseffectstackpropertieswidget.cpp.

Member Data Documentation

◆ mPropertiesWidget

QgsEffectStackPropertiesWidget* QgsEffectStackPropertiesDialog::mPropertiesWidget = nullptr
protected

Definition at line 195 of file qgseffectstackpropertieswidget.h.


The documentation for this class was generated from the following files: