Marble

GeoSceneIcon.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_GEOSCENEICON_H
23 #define MARBLE_GEOSCENEICON_H
24 
25 #include <QString>
26 #include <QColor>
27 
28 #include <geodata_export.h>
29 
30 #include "GeoDocument.h"
31 
32 namespace Marble
33 {
34 
38 class GEODATA_EXPORT GeoSceneIcon : public GeoNode
39 {
40  public:
41  GeoSceneIcon();
42  ~GeoSceneIcon() override;
43 
44  QString pixmap() const;
45  void setPixmap(const QString&);
46 
47  QColor color() const;
48  void setColor(const QColor&);
49 
50  const char *nodeType() const override;
51 
52  private:
53  // FIXME: d-pointerfy
54 
55  QString m_pixmap;
56  QColor m_color;
57 };
58 
59 }
60 
61 #endif
Icon properties of a GeoScene document.
Definition: GeoSceneIcon.h:38
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 3 2020 23:19:06 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.