Convenience metadata class that uses static functions to create an effect and its widget.
More...
#include <qgspainteffectregistry.h>
Convenience metadata class that uses static functions to create an effect and its widget.
- Note
- not available in Python bindings
Definition at line 96 of file qgspainteffectregistry.h.
◆ QgsPaintEffectMetadata()
Create effect metadata from static functions.
- Parameters
-
name | unique string representing paint effect class |
visibleName | user visible name representing paint effect class |
pfCreate | paint effect creation function |
pfWidget | widget creation function |
- Note
- not available in Python bindings
Definition at line 109 of file qgspainteffectregistry.h.
◆ createFunction()
Returns the paint effect creation function for the paint effect class.
- Returns
- creation function
- Note
- not available in Python bindings
Definition at line 122 of file qgspainteffectregistry.h.
◆ createPaintEffect()
QgsPaintEffect * QgsPaintEffectMetadata::createPaintEffect |
( |
const QVariantMap & |
map | ) |
|
|
inlineoverridevirtual |
◆ createWidget()
◆ setWidgetFunction()
Sets the paint effect properties widget creation function for the paint effect class.
- Parameters
-
f | widget creation function |
- Note
- not available in Python bindings
- See also
- widgetFunction
Definition at line 138 of file qgspainteffectregistry.h.
◆ widgetFunction()
Returns the paint effect properties widget creation function for the paint effect class.
- Returns
- widget creation function
- Note
- not available in Python bindings
- See also
- setWidgetFunction
Definition at line 130 of file qgspainteffectregistry.h.
◆ mCreateFunc
◆ mWidgetFunc
The documentation for this class was generated from the following file: