Marble

GeoSceneVector.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_GEOSCENEVECTOR_H
8#define MARBLE_GEOSCENEVECTOR_H
9
10#include <QBrush>
11#include <QPen>
12#include <QString>
13
14#include "GeoSceneAbstractDataset.h"
15
16namespace Marble
17{
18
19/**
20 * @short Vector dataset stored in a layer.
21 */
22
23class GEODATA_EXPORT GeoSceneVector : public GeoSceneAbstractDataset
24{
25public:
26 explicit GeoSceneVector(const QString &name);
27 const char *nodeType() const override;
28
29 QString sourceFile() const;
30 void setSourceFile(const QString &sourceFile);
31
32 QString feature() const;
33 void setFeature(const QString &feature);
34
35 QPen pen() const;
36 void setPen(const QPen &pen);
37
38 QBrush brush() const;
39 void setBrush(const QBrush &brush);
40
41private:
42 QString m_sourceFile;
43 QString m_feature;
44
45 QPen m_pen;
46 QBrush m_brush;
47};
48
49}
50
51#endif
Contents used inside a layer.
Vector dataset stored in a layer.
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 Nov 8 2024 12:02:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.