16#ifndef QGSSYMBOLLAYERREGISTRY_H
17#define QGSSYMBOLLAYERREGISTRY_H
48 , mVisibleName( visibleName )
54 QString
name()
const {
return mName; }
74 Q_UNUSED( properties )
75 Q_UNUSED( pathResolver )
89 Q_UNUSED( properties )
121 , mCreateFunc( pfCreate )
122 , mWidgetFunc( pfWidget )
123 , mCreateFromSldFunc( pfCreateFromSld )
124 , mPathResolverFunc( pfPathResolver )
125 , mFontResolverFunc( pfFontResolver )
145 if ( mPathResolverFunc )
146 mPathResolverFunc( properties, pathResolver, saving );
151 if ( mFontResolverFunc )
152 mFontResolverFunc( properties, context );
205 QgsSymbolLayer *createSymbolLayer(
const QString &name,
const QVariantMap &properties = QVariantMap() ) const
SIP_FACTORY;
215 void resolvePaths( const QString &name, QVariantMap &properties, const
QgsPathResolver &pathResolver,
bool saving ) const;
225 void resolveFonts( const QString &name, QVariantMap &properties, const
QgsReadWriteContext &context ) const;
228 QStringList symbolLayersForType(
Qgis::SymbolType type );
238 QMap<QString, QgsSymbolLayerAbstractMetadata *> mMetadata;
The Qgis class provides global constants for use throughout the application.
Resolves relative paths into absolute paths and vice versa.
The class is used as a container of context for various read/write operations on other objects.
Registry of available symbol layer classes.
QgsSymbolLayerRegistry(const QgsSymbolLayerRegistry &rh)=delete
QgsSymbolLayerRegistry & operator=(const QgsSymbolLayerRegistry &rh)=delete
Represents a vector layer which manages a vector based data sets.
void(* QgsSymbolLayerPathResolverFunc)(QVariantMap &, const QgsPathResolver &, bool)
QgsSymbolLayer *(* QgsSymbolLayerCreateFunc)(const QVariantMap &)
QgsSymbolLayer *(* QgsSymbolLayerCreateFromSldFunc)(QDomElement &)
QgsSymbolLayerWidget *(* QgsSymbolLayerWidgetFunc)(QgsVectorLayer *)
void(* QgsSymbolLayerFontResolverFunc)(const QVariantMap &, const QgsReadWriteContext &)