Marble

GeoSceneIcon.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_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
17namespace Marble
18{
19
20/**
21 * @short Icon properties of a GeoScene document.
22 */
23class GEODATA_EXPORT GeoSceneIcon : public GeoNode
24{
25 public:
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:35
Icon properties of a GeoScene document.
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 Fri Jun 21 2024 12:00:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.