16 #ifndef QGSSYMBOLLAYERREGISTRY_H 
   17 #define QGSSYMBOLLAYERREGISTRY_H 
   19 #include "qgis_core.h" 
   48       , mVisibleName( visibleName )
 
   54     QString 
name()
 const { 
return mName; }
 
   75       Q_UNUSED( properties )
 
   76       Q_UNUSED( pathResolver )
 
   90       Q_UNUSED( properties )
 
  122     , mCreateFunc( pfCreate )
 
  123     , mWidgetFunc( pfWidget )
 
  124     , mCreateFromSldFunc( pfCreateFromSld )
 
  125     , mPathResolverFunc( pfPathResolver )
 
  126     , mFontResolverFunc( pfFontResolver )
 
  146       if ( mPathResolverFunc )
 
  147         mPathResolverFunc( properties, pathResolver, saving );
 
  152       if ( mFontResolverFunc )
 
  153         mFontResolverFunc( properties, context );
 
  208     QgsSymbolLayer *createSymbolLayer( 
const QString &name, 
const QVariantMap &properties = QVariantMap() ) const 
SIP_FACTORY;
 
  219     void resolvePaths( const QString &name, QVariantMap &properties, const 
QgsPathResolver &pathResolver, 
bool saving ) const;
 
  229     void resolveFonts( const QString &name, QVariantMap &properties, const 
QgsReadWriteContext &context ) const;
 
  232     QStringList symbolLayersForType( 
Qgis::SymbolType type );
 
  242     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 & operator=(const QgsSymbolLayerRegistry &rh)=delete
QgsSymbolLayerRegistry cannot be copied.
QgsSymbolLayerRegistry(const QgsSymbolLayerRegistry &rh)=delete
QgsSymbolLayerRegistry cannot be copied.
Represents a vector layer which manages a vector based data sets.
void(* QgsSymbolLayerFontResolverFunc)(const QVariantMap &, const QgsReadWriteContext &)
void(* QgsSymbolLayerPathResolverFunc)(QVariantMap &, const QgsPathResolver &, bool)
QgsSymbolLayer *(* QgsSymbolLayerCreateFunc)(const QVariantMap &)
QgsSymbolLayerWidget *(* QgsSymbolLayerWidgetFunc)(QgsVectorLayer *)
QgsSymbolLayer *(* QgsSymbolLayerCreateFromSldFunc)(QDomElement &)