Stores metadata about one symbol layer class.
More...
#include <qgssymbollayerregistry.h>
Stores metadata about one symbol layer class.
- Note
- It's necessary to implement createSymbolLayer() function. In C++ you can use QgsSymbolLayerMetadata convenience class.
Definition at line 34 of file qgssymbollayerregistry.h.
◆ QgsSymbolLayerAbstractMetadata()
QgsSymbolLayerAbstractMetadata::QgsSymbolLayerAbstractMetadata |
( |
const QString & |
name, |
|
|
const QString & |
visibleName, |
|
|
QgsSymbol::SymbolType |
type |
|
) |
| |
|
inline |
◆ ~QgsSymbolLayerAbstractMetadata()
virtual QgsSymbolLayerAbstractMetadata::~QgsSymbolLayerAbstractMetadata |
( |
| ) |
|
|
virtualdefault |
◆ createSymbolLayer()
◆ createSymbolLayerFromSld()
virtual QgsSymbolLayer* QgsSymbolLayerAbstractMetadata::createSymbolLayerFromSld |
( |
QDomElement & |
| ) |
|
|
inlinevirtual |
◆ createSymbolLayerWidget()
◆ name()
QString QgsSymbolLayerAbstractMetadata::name |
( |
| ) |
const |
|
inline |
◆ resolvePaths()
virtual void QgsSymbolLayerAbstractMetadata::resolvePaths |
( |
QgsStringMap & |
properties, |
|
|
const QgsPathResolver & |
pathResolver, |
|
|
bool |
saving |
|
) |
| |
|
inlinevirtual |
Resolve paths in symbol layer's properties (if there are any paths).
When saving is true
, paths are converted from absolute to relative, when saving is false
, paths are converted from relative to absolute. This ensures that paths in project files can be relative, but in symbol layer instances the paths are always absolute
- Since
- QGIS 3.0
Reimplemented in QgsSymbolLayerMetadata.
Definition at line 64 of file qgssymbollayerregistry.h.
◆ type()
◆ visibleName()
QString QgsSymbolLayerAbstractMetadata::visibleName |
( |
| ) |
const |
|
inline |
◆ mName
QString QgsSymbolLayerAbstractMetadata::mName |
|
protected |
◆ mType
◆ mVisibleName
QString QgsSymbolLayerAbstractMetadata::mVisibleName |
|
protected |
The documentation for this class was generated from the following file: