16 #ifndef QGSVISIBILITYPRESETCOLLECTION_H 17 #define QGSVISIBILITYPRESETCOLLECTION_H 22 #include <QStringList> 57 return !( *
this == other );
76 bool hasPreset(
const QString& name )
const;
95 void removePreset(
const QString& name );
119 void applyPresetCheckedLegendNodesToLayer(
const QString& name,
const QString& layerID );
149 void presetsChanged();
155 void registryLayersRemoved(
const QStringList& layerIDs );
158 void layerStyleRenamed(
const QString& oldName,
const QString& newName );
164 void reconnectToLayersStyleManager();
171 #endif // QGSVISIBILITYPRESETCOLLECTION_H Layer tree group node serves as a container for layers and further groups.
bool operator==(const PresetRecord &other) const
QMap< QString, PresetRecord > PresetRecordMap
QMap< QString, QString > mPerLayerCurrentStyle
For layers that use multiple styles - which one is currently selected.
QStringList mVisibleLayerIDs
Ordered list of layers that are visible.
This class is a base class for nodes in a layer tree.
PresetRecord presetState(const QString &name) const
Returns the recorded state of a preset.
Individual preset record of visible layers and styles.
bool operator!=(const PresetRecord &other) const
Container class that allows storage of visibility presets consisting of visible map layers and layer ...
QMap< QString, QSet< QString > > mPerLayerCheckedLegendSymbols
For layers that have checkable legend symbols and not all symbols are checked - list which ones are...