Marble

GeoSceneGeodata.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2011 Utku Aydın <utkuaydin34@gmail.com>
4//
5
6#ifndef MARBLE_GEOSCENEGEODATA_H
7#define MARBLE_GEOSCENEGEODATA_H
8
9#include "GeoDocument.h"
10#include "GeoSceneAbstractDataset.h"
11#include <geodata_export.h>
12
13#include <QBrush>
14#include <QPen>
15
16namespace Marble
17{
18
19class GEODATA_EXPORT GeoSceneGeodata : public GeoSceneAbstractDataset
20{
21public:
22 explicit GeoSceneGeodata(const QString &name);
23 ~GeoSceneGeodata() override;
24 const char *nodeType() const override;
25
26 bool operator==(const GeoSceneGeodata &other) const;
27
28 QString property() const;
29 void setProperty(const QString &property);
30
31 QString sourceFile() const;
32 void setSourceFile(const QString &sourceFile);
33
34 QString colorize() const;
35 void setColorize(const QString &colorize);
36
37 qreal alpha() const;
38 void setAlpha(qreal alpha);
39
40 QPen pen() const;
41 void setPen(const QPen &pen);
42
43 QBrush brush() const;
44 void setBrush(const QBrush &brush);
45
46 int renderOrder() const;
47 void setRenderOrder(int renderOrder);
48
49 QList<QColor> colors() const;
50 void setColors(const QList<QColor> &colors);
51
52private:
53 QString m_property;
54 QString m_sourceFile;
55 QString m_colorize;
56 qreal m_alpha;
57 QPen m_pen;
58 QBrush m_brush;
59 int m_renderOrder;
60 QList<QColor> m_colors;
61};
62
63}
64
65#endif
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
Binds a QML item to a specific geodetic location in screen coordinates.
QCA_EXPORT void setProperty(const QString &name, const QVariant &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.