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 <QString>
11#include <QPen>
12#include <QBrush>
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{
25 public:
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
41 private:
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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.