Stores metadata about a paint effect class.
More...
#include <qgspainteffectregistry.h>
Stores metadata about a paint effect class.
- Note
- It's necessary to implement the createPaintEffect() function. In C++ you can use the QgsPaintEffectMetadata convenience class to simplify creation of the metadata.
- Since
- QGIS 2.9
Definition at line 39 of file qgspainteffectregistry.h.
◆ QgsPaintEffectAbstractMetadata()
QgsPaintEffectAbstractMetadata::QgsPaintEffectAbstractMetadata |
( |
const QString & |
name, |
|
|
const QString & |
visibleName |
|
) |
| |
◆ ~QgsPaintEffectAbstractMetadata()
virtual QgsPaintEffectAbstractMetadata::~QgsPaintEffectAbstractMetadata |
( |
| ) |
|
|
virtualdefault |
◆ createPaintEffect()
Create a paint effect of this class given an encoded map of properties.
- Parameters
-
- Returns
- new paint effect
Implemented in QgsPaintEffectMetadata.
◆ createWidget()
Create configuration widget for paint effect of this class.
Can return nullptr
if there's no GUI for the paint effect class.
- Returns
- configuration widget
Reimplemented in QgsPaintEffectMetadata.
Definition at line 78 of file qgspainteffectregistry.h.
◆ name()
QString QgsPaintEffectAbstractMetadata::name |
( |
| ) |
const |
|
inline |
◆ visibleName()
QString QgsPaintEffectAbstractMetadata::visibleName |
( |
| ) |
const |
|
inline |
Returns the user visible string representing the paint effect class.
- Returns
- friendly user visible string
- See also
- name
Definition at line 64 of file qgspainteffectregistry.h.
◆ mName
QString QgsPaintEffectAbstractMetadata::mName |
|
protected |
◆ mVisibleName
QString QgsPaintEffectAbstractMetadata::mVisibleName |
|
protected |
The documentation for this class was generated from the following files: