QGIS API Documentation
3.0.2-Girona (307d082)
|
Individual map theme record of visible layers and styles. More...
#include <qgsmapthemecollection.h>
Public Member Functions | |
void | addLayerRecord (const QgsMapThemeCollection::MapThemeLayerRecord &record) |
Add a new record for a layer. More... | |
QList< QgsMapThemeCollection::MapThemeLayerRecord > | layerRecords () const |
Returns a list of records for all visible layer belonging to the theme. More... | |
bool | operator!= (const QgsMapThemeCollection::MapThemeRecord &other) const |
bool | operator== (const QgsMapThemeCollection::MapThemeRecord &other) const |
void | removeLayerRecord (QgsMapLayer *layer) |
Removes a record for layer if present. More... | |
void | setLayerRecords (const QList< QgsMapThemeCollection::MapThemeLayerRecord > &records) |
Sets layer records for the theme. More... | |
QHash< QgsMapLayer *, QgsMapThemeCollection::MapThemeLayerRecord > | validLayerRecords () const |
Return set with only records for valid layers. More... | |
Friends | |
class | QgsMapThemeCollection |
Individual map theme record of visible layers and styles.
Definition at line 100 of file qgsmapthemecollection.h.
void QgsMapThemeCollection::MapThemeRecord::addLayerRecord | ( | const QgsMapThemeCollection::MapThemeLayerRecord & | record | ) |
Add a new record for a layer.
Definition at line 548 of file qgsmapthemecollection.cpp.
|
inline |
Returns a list of records for all visible layer belonging to the theme.
Definition at line 114 of file qgsmapthemecollection.h.
|
inline |
Definition at line 108 of file qgsmapthemecollection.h.
|
inline |
Definition at line 104 of file qgsmapthemecollection.h.
void QgsMapThemeCollection::MapThemeRecord::removeLayerRecord | ( | QgsMapLayer * | layer | ) |
Removes a record for layer if present.
Definition at line 539 of file qgsmapthemecollection.cpp.
|
inline |
Sets layer records for the theme.
Definition at line 117 of file qgsmapthemecollection.h.
QHash< QgsMapLayer *, QgsMapThemeCollection::MapThemeLayerRecord > QgsMapThemeCollection::MapThemeRecord::validLayerRecords | ( | ) | const |
Return set with only records for valid layers.
Definition at line 553 of file qgsmapthemecollection.cpp.
|
friend |
Definition at line 135 of file qgsmapthemecollection.h.