QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Public Attributes | List of all members
QgsVisibilityPresetCollection::PresetRecord Class Reference

Individual preset record of visible layers and styles. More...

#include <qgsvisibilitypresetcollection.h>

Public Member Functions

bool operator!= (const PresetRecord &other) const
 
bool operator== (const PresetRecord &other) const
 

Public Attributes

QMap< QString, QSet< QString > > mPerLayerCheckedLegendSymbols
 For layers that have checkable legend symbols and not all symbols are checked - list which ones are. More...
 
QMap< QString, QStringmPerLayerCurrentStyle
 For layers that use multiple styles - which one is currently selected. More...
 
QStringList mVisibleLayerIDs
 Ordered list of layers that are visible. More...
 

Detailed Description

Individual preset record of visible layers and styles.

Definition at line 45 of file qgsvisibilitypresetcollection.h.

Member Function Documentation

◆ operator!=()

bool QgsVisibilityPresetCollection::PresetRecord::operator!= ( const PresetRecord other) const
inline

Definition at line 55 of file qgsvisibilitypresetcollection.h.

◆ operator==()

bool QgsVisibilityPresetCollection::PresetRecord::operator== ( const PresetRecord other) const
inline

Definition at line 49 of file qgsvisibilitypresetcollection.h.

Member Data Documentation

◆ mPerLayerCheckedLegendSymbols

QMap<QString, QSet<QString> > QgsVisibilityPresetCollection::PresetRecord::mPerLayerCheckedLegendSymbols

For layers that have checkable legend symbols and not all symbols are checked - list which ones are.

Note
not available in Python bindings

Definition at line 65 of file qgsvisibilitypresetcollection.h.

◆ mPerLayerCurrentStyle

QMap<QString, QString> QgsVisibilityPresetCollection::PresetRecord::mPerLayerCurrentStyle

For layers that use multiple styles - which one is currently selected.

Definition at line 67 of file qgsvisibilitypresetcollection.h.

◆ mVisibleLayerIDs

QStringList QgsVisibilityPresetCollection::PresetRecord::mVisibleLayerIDs

Ordered list of layers that are visible.

Definition at line 61 of file qgsvisibilitypresetcollection.h.


The documentation for this class was generated from the following file: