QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
void setPreviewPicture (const QPicture &picture)
 Sets the picture to use for effect previews for the dialog.
 
QgsEffectStackstack ()
 Returns effect stack attached to the dialog.
 
- 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.
 
QDialogButtonBox * buttonBox ()
 Returns the button box.
 
QVBoxLayout * layout ()
 Returns the central layout. Widgets added to it must have this dialog as parent.
 

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 364 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 382 of file qgseffectstackpropertieswidget.cpp.

◆ stack()

QgsEffectStack * QgsEffectStackPropertiesDialog::stack ( )

Returns effect stack attached to the dialog.

Returns
QgsEffectStack modified by the dialog

Definition at line 377 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: