QGIS API Documentation  3.6.0-Noosa (5873452)
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=nullptr)
 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
Since
QGIS 2.9

Definition at line 168 of file qgseffectstackpropertieswidget.h.

Constructor & Destructor Documentation

◆ QgsEffectStackPropertiesDialog()

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

QgsEffectStackPropertiesDialog constructor.

Parameters
stackQgsEffectStack to modify in the dialog
parentparent widget
fwindow flags

Definition at line 360 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 374 of file qgseffectstackpropertieswidget.cpp.

◆ stack()

QgsEffectStack * QgsEffectStackPropertiesDialog::stack ( )

Returns effect stack attached to the dialog.

Returns
QgsEffectStack modified by the dialog

Definition at line 369 of file qgseffectstackpropertieswidget.cpp.

Member Data Documentation

◆ mPropertiesWidget

QgsEffectStackPropertiesWidget* QgsEffectStackPropertiesDialog::mPropertiesWidget = nullptr
protected

Definition at line 196 of file qgseffectstackpropertieswidget.h.


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