Marble

GeoSceneHead.h
1 /*
2  Copyright (C) 2008 Torsten Rahn <[email protected]>
3 
4  This file is part of the KDE project
5 
6  This library is free software you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  aint with this library see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef MARBLE_GEOSCENEHEAD_H
23 #define MARBLE_GEOSCENEHEAD_H
24 
25 #include "GeoDocument.h"
26 
27 #include <geodata_export.h>
28 
29 #include <QtGlobal>
30 
31 class QString;
32 
33 namespace Marble
34 {
35 
36 class GeoSceneIcon;
37 class GeoSceneZoom;
38 class GeoSceneLicense;
39 
40 class GeoSceneHeadPrivate;
41 
45 class GEODATA_EXPORT GeoSceneHead : public GeoNode
46 {
47  public:
48  GeoSceneHead();
49  ~GeoSceneHead() override;
50 
51  const char* nodeType() const override;
52 
53  QString name() const;
54  void setName( const QString& name );
55  QString target() const;
56  void setTarget( const QString& target );
57  QString theme() const;
58  void setTheme( const QString& theme );
59 
61  qreal radius() const;
62  void setRadius( qreal radius );
63 
64  QString mapThemeId() const;
65 
66  QString description() const;
67  void setDescription( const QString& );
68 
69  bool visible() const;
70  void setVisible( bool visible );
71 
72  const GeoSceneZoom* zoom() const;
73  GeoSceneZoom* zoom();
74 
75  const GeoSceneIcon* icon() const;
76  GeoSceneIcon* icon();
77 
78  const GeoSceneLicense* license() const;
79  GeoSceneLicense* license();
80 
81 
82  private:
83  Q_DISABLE_COPY( GeoSceneHead )
84  GeoSceneHeadPrivate * const d;
85 };
86 
87 }
88 
89 #endif
Icon properties of a GeoScene document.
Definition: GeoSceneIcon.h:38
General properties and identifiers of a GeoScene document.
Definition: GeoSceneHead.h:45
Binds a QML item to a specific geodetic location in screen coordinates.
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:49
Zoom properties of a GeoScene document.
Definition: GeoSceneZoom.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 4 2020 23:20:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.