Marble

GeoSceneHead.h
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
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 
16 class QString;
17 
18 namespace Marble
19 {
20 
21 class GeoSceneIcon;
22 class GeoSceneZoom;
23 class GeoSceneLicense;
24 
25 class GeoSceneHeadPrivate;
26 
27 /**
28  * @short General properties and identifiers of a GeoScene document.
29  */
30 class GEODATA_EXPORT GeoSceneHead : public GeoNode
31 {
32  public:
33  GeoSceneHead();
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 
66 
67  private:
68  Q_DISABLE_COPY( GeoSceneHead )
69  GeoSceneHeadPrivate * const d;
70 };
71 
72 }
73 
74 #endif
General properties and identifiers of a GeoScene document.
Definition: GeoSceneHead.h:30
Zoom properties of a GeoScene document.
Definition: GeoSceneZoom.h:19
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:34
Binds a QML item to a specific geodetic location in screen coordinates.
void setTarget(const SkyPoint &targetCoord)
Icon properties of a GeoScene document.
Definition: GeoSceneIcon.h:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:02:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.