|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
Stores metadata about a paint effect class. More...
#include <qgspainteffectregistry.h>

Public Member Functions | |
| QgsPaintEffectAbstractMetadata (const QString &name, const QString &visibleName) | |
| Construct a new QgsPaintEffectAbstractMetadata. | |
| virtual | ~QgsPaintEffectAbstractMetadata ()=default |
| virtual QgsPaintEffect * | createPaintEffect (const QVariantMap &map)=0 |
| Create a paint effect of this class given an encoded map of properties. | |
| virtual QgsPaintEffectWidget * | createWidget () |
| Create configuration widget for paint effect of this class. | |
| QString | name () const |
| Returns the unique string representing the paint effect class. | |
| QString | visibleName () const |
| Returns the user visible string representing the paint effect class. | |
Protected Attributes | |
| QString | mName |
| QString | mVisibleName |
Stores metadata about a paint effect class.
Definition at line 40 of file qgspainteffectregistry.h.
| QgsPaintEffectAbstractMetadata::QgsPaintEffectAbstractMetadata | ( | const QString & | name, |
| const QString & | visibleName ) |
Construct a new QgsPaintEffectAbstractMetadata.
| name | unique string representing paint effect class |
| visibleName | user visible name representing paint effect class |
Definition at line 35 of file qgspainteffectregistry.cpp.
|
virtualdefault |
|
pure virtual |
Create a paint effect of this class given an encoded map of properties.
| map | properties string map |
Implemented in QgsPaintEffectMetadata.
|
inlinevirtual |
Create configuration widget for paint effect of this class.
Can return nullptr if there's no GUI for the paint effect class.
Reimplemented in QgsPaintEffectMetadata.
Definition at line 78 of file qgspainteffectregistry.h.
|
inline |
Returns the unique string representing the paint effect class.
Definition at line 57 of file qgspainteffectregistry.h.
|
inline |
Returns the user visible string representing the paint effect class.
Definition at line 64 of file qgspainteffectregistry.h.
|
protected |
Definition at line 81 of file qgspainteffectregistry.h.
|
protected |
Definition at line 82 of file qgspainteffectregistry.h.