QGIS API Documentation  2.99.0-Master (d55fa22)
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=0)
 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.

Since
QGIS 2.9
See also
QgsEffectStack
QgsEffectStackPropertiesWidget
QgsEffectStackCompactWidget

Definition at line 150 of file qgseffectstackpropertieswidget.h.

Constructor & Destructor Documentation

◆ QgsEffectStackPropertiesDialog()

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

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

◆ stack()

QgsEffectStack * QgsEffectStackPropertiesDialog::stack ( )

Returns effect stack attached to the dialog.

Returns
QgsEffectStack modified by the dialog

Definition at line 373 of file qgseffectstackpropertieswidget.cpp.

Member Data Documentation

◆ mPropertiesWidget

QgsEffectStackPropertiesWidget* QgsEffectStackPropertiesDialog::mPropertiesWidget = nullptr
protected

Definition at line 175 of file qgseffectstackpropertieswidget.h.


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