16 #ifndef QGSVISIBILITYPRESETCOLLECTION_H 17 #define QGSVISIBILITYPRESETCOLLECTION_H 22 #include <QStringList> 56 return !( *
this == other );
75 bool hasPreset(
const QString& name )
const;
94 void removePreset(
const QString& name );
118 void applyPresetCheckedLegendNodesToLayer(
const QString& name,
const QString& layerID );
148 void presetsChanged();
154 void registryLayersRemoved(
const QStringList& layerIDs );
157 void layerStyleRenamed(
const QString& oldName,
const QString& newName );
163 void reconnectToLayersStyleManager();
170 #endif // QGSVISIBILITYPRESETCOLLECTION_H Layer tree group node serves as a container for layers and further groups.
PresetRecord presetState(const QString &name) const
Returns the recorded state of a preset.
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.
bool operator!=(const PresetRecord &other) const
Individual preset record of visible layers and styles.
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...
bool operator==(const PresetRecord &other) const