QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
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. More... | |
virtual | ~QgsPaintEffectAbstractMetadata () |
virtual QgsPaintEffect * | createPaintEffect (const QgsStringMap &map)=0 |
Create a paint effect of this class given an encoded map of properties. More... | |
virtual QgsPaintEffectWidget * | createWidget () |
Create configuration widget for paint effect of this class. More... | |
QString | name () const |
Returns the unique string representing the paint effect class. More... | |
QString | visibleName () const |
Returns the user visible string representing the paint effect class. More... | |
Protected Attributes | |
QString | mName |
QString | mVisibleName |
Stores metadata about a paint effect class.
Definition at line 36 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 24 of file qgspainteffectregistry.cpp.
|
inlinevirtual |
Definition at line 46 of file qgspainteffectregistry.h.
|
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 70 of file qgspainteffectregistry.h.
|
inline |
Returns the unique string representing the paint effect class.
Definition at line 52 of file qgspainteffectregistry.h.
|
inline |
Returns the user visible string representing the paint effect class.
Definition at line 58 of file qgspainteffectregistry.h.
|
protected |
Definition at line 73 of file qgspainteffectregistry.h.
|
protected |
Definition at line 74 of file qgspainteffectregistry.h.