QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A dialog for modifying the properties of a QgsEffectStack, including adding and reordering effects within the stack. More...
#include <qgseffectstackpropertieswidget.h>
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. | |
QgsEffectStack * | stack () |
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 | |
QgsEffectStackPropertiesWidget * | mPropertiesWidget = nullptr |
Protected Attributes inherited from QgsDialog | |
QDialogButtonBox * | mButtonBox = nullptr |
QVBoxLayout * | mLayout = nullptr |
A dialog for modifying the properties of a QgsEffectStack, including adding and reordering effects within the stack.
Definition at line 167 of file qgseffectstackpropertieswidget.h.
QgsEffectStackPropertiesDialog::QgsEffectStackPropertiesDialog | ( | QgsEffectStack * | stack, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
QgsEffectStackPropertiesDialog constructor.
stack | QgsEffectStack to modify in the dialog |
parent | parent widget |
f | window flags |
Definition at line 364 of file qgseffectstackpropertieswidget.cpp.
void QgsEffectStackPropertiesDialog::setPreviewPicture | ( | const QPicture & | picture | ) |
Sets the picture to use for effect previews for the dialog.
picture | preview picture |
Definition at line 382 of file qgseffectstackpropertieswidget.cpp.
QgsEffectStack * QgsEffectStackPropertiesDialog::stack | ( | ) |
Returns effect stack attached to the dialog.
Definition at line 377 of file qgseffectstackpropertieswidget.cpp.
|
protected |
Definition at line 195 of file qgseffectstackpropertieswidget.h.