Marble

GeoSceneHead.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_GEOSCENEHEAD_H
8#define MARBLE_GEOSCENEHEAD_H
9
10#include "GeoDocument.h"
11
12#include <geodata_export.h>
13
14#include <QtGlobal>
15
16class QString;
17
18namespace Marble
19{
20
21class GeoSceneIcon;
22class GeoSceneZoom;
23class GeoSceneLicense;
24
25class GeoSceneHeadPrivate;
26
27/**
28 * @short General properties and identifiers of a GeoScene document.
29 */
30class GEODATA_EXPORT GeoSceneHead : public GeoNode
31{
32public:
34 ~GeoSceneHead() override;
35
36 const char *nodeType() const override;
37
38 QString name() const;
39 void setName(const QString &name);
40 QString target() const;
41 void setTarget(const QString &target);
42 QString theme() const;
43 void setTheme(const QString &theme);
44
45 /** Planet radius, 0.0 if unknown */
46 qreal radius() const;
47 void setRadius(qreal radius);
48
49 QString mapThemeId() const;
50
51 QString description() const;
52 void setDescription(const QString &);
53
54 bool visible() const;
55 void setVisible(bool visible);
56
57 const GeoSceneZoom *zoom() const;
58 GeoSceneZoom *zoom();
59
60 const GeoSceneIcon *icon() const;
61 GeoSceneIcon *icon();
62
63 const GeoSceneLicense *license() const;
64 GeoSceneLicense *license();
65
66private:
67 Q_DISABLE_COPY(GeoSceneHead)
68 GeoSceneHeadPrivate *const d;
69};
70
71}
72
73#endif
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
General properties and identifiers of a GeoScene document.
Icon properties of a GeoScene document.
Zoom properties of a GeoScene document.
void setTarget(const SkyPoint &targetCoord)
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 Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.