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 <geodata_export.h>
10#include "GeoSceneAbstractDataset.h"
11#include "GeoDocument.h"
12
13#include <QPen>
14#include <QBrush>
15
16namespace Marble
17{
18
19class GEODATA_EXPORT GeoSceneGeodata : public GeoSceneAbstractDataset
20{
21 public:
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 QVector<QColor> colors() const;
50 void setColors(const QVector<QColor> &colors);
51
52 private:
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 QVector<QColor> m_colors;
61};
62
63}
64
65
66#endif
Binds a QML item to a specific geodetic location in screen coordinates.
QCA_EXPORT void setProperty(const QString &name, const QVariant &value)
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
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.