Marble

GeoSceneIcon.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_GEOSCENEICON_H
8 #define MARBLE_GEOSCENEICON_H
9 
10 #include <QString>
11 #include <QColor>
12 
13 #include <geodata_export.h>
14 
15 #include "GeoDocument.h"
16 
17 namespace Marble
18 {
19 
20 /**
21  * @short Icon properties of a GeoScene document.
22  */
23 class GEODATA_EXPORT GeoSceneIcon : public GeoNode
24 {
25  public:
26  GeoSceneIcon();
27  ~GeoSceneIcon() override;
28 
29  QString pixmap() const;
30  void setPixmap(const QString&);
31 
32  QColor color() const;
33  void setColor(const QColor&);
34 
35  const char *nodeType() const override;
36 
37  private:
38  // FIXME: d-pointerfy
39 
40  QString m_pixmap;
41  QColor m_color;
42 };
43 
44 }
45 
46 #endif
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.
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 Thu May 26 2022 04:07:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.