Marble

GeoSceneLegend.h
1/*
2 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef MARBLE_GEOSCENELEGEND_H
8#define MARBLE_GEOSCENELEGEND_H
9
10#include "GeoDocument.h"
11#include <QList>
12
13#include <geodata_export.h>
14
15namespace Marble
16{
17
18class GeoSceneSection;
19
20class GeoSceneLegendPrivate;
21
22/**
23 * @short Legend of a GeoScene document.
24 */
25
26class GEODATA_EXPORT GeoSceneLegend : public GeoNode
27{
28public:
30 ~GeoSceneLegend() override;
31
32 const char *nodeType() const override;
33
34 /**
35 * @brief Add a section to the legend
36 * @param section the new section
37 */
38 void addSection(const GeoSceneSection *);
39 QList<const GeoSceneSection *> sections() const;
40
41private:
42 Q_DISABLE_COPY(GeoSceneLegend)
43 GeoSceneLegendPrivate *const d;
44};
45
46}
47
48#endif
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
Legend of a GeoScene document.
Section of a GeoScene document.
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.