16 #ifndef QGSMAPLAYERSTYLEMANAGER_H    17 #define QGSMAPLAYERSTYLEMANAGER_H    24 #include <QStringList>   119     bool addStyleFromLayer( 
const QString& name );
   122     bool removeStyle( 
const QString& name );
   131     bool setCurrentStyle( 
const QString& name );
   136     bool setOverrideStyle( 
const QString& styleDef );
   138     bool restoreOverrideStyle();
   142     void styleAdded( 
const QString& name );
   144     void styleRemoved( 
const QString& name );
   146     void styleRenamed( 
const QString& oldName, 
const QString& newName );
   148     void currentStyleChanged( 
const QString& currentName );
   157 #endif // QGSMAPLAYERSTYLEMANAGER_H Base class for all map layer types. 
 
Stores style information (renderer, transparency, labeling, diagrams etc.) applicable to a map layer...
 
QgsMapLayer * layer() const 
Get pointer to the associated map layer. 
 
Management of styles for use with one map layer.