Marble

GeoSceneVector.h
1 /*
2  Copyright (C) 2008 Torsten Rahn <[email protected]>
3 
4  This file is part of the KDE project
5 
6  This library is free software you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  aint with this library see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef MARBLE_GEOSCENEVECTOR_H
23 #define MARBLE_GEOSCENEVECTOR_H
24 
25 #include <QString>
26 #include <QPen>
27 #include <QBrush>
28 
29 #include "GeoSceneAbstractDataset.h"
30 
31 namespace Marble
32 {
33 
38 class GEODATA_EXPORT GeoSceneVector : public GeoSceneAbstractDataset
39 {
40  public:
41  explicit GeoSceneVector( const QString& name );
42  const char* nodeType() const override;
43 
44  QString sourceFile() const;
45  void setSourceFile( const QString& sourceFile );
46 
47  QString feature() const;
48  void setFeature( const QString& feature );
49 
50  QPen pen() const;
51  void setPen( const QPen& pen );
52 
53  QBrush brush() const;
54  void setBrush( const QBrush& brush );
55 
56  private:
57  QString m_sourceFile;
58  QString m_feature;
59 
60  QPen m_pen;
61  QBrush m_brush;
62 };
63 
64 }
65 
66 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
Contents used inside a layer.
Vector dataset stored in a layer.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jun 4 2020 22:32:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.