16 #ifndef QGSMAPLAYERSTYLE_H
17 #define QGSMAPLAYERSTYLE_H
19 #include "qgis_core.h"
24 #include <QStringList>
58 QString xmlData()
const;
66 void readXml(
const QDomElement &styleElement );
68 void writeXml( QDomElement &styleElement )
const;
100 void setOverrideStyle(
const QString &style );
105 bool mStyleOverridden =
false;
Restore overridden layer style on destruction.
QgsMapLayerStyleOverride(QgsMapLayer *layer)
Construct a style override object associated with a map layer.
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
QgsMapLayerStyle()=default
construct invalid style
Base class for all map layer types.