• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • scene
GeoSceneGeodata.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2011 Utku Aydın <utkuaydin34@gmail.com>
9 //
10 
11 #ifndef MARBLE_GEOSCENEGEODATA_H
12 #define MARBLE_GEOSCENEGEODATA_H
13 
14 #include <geodata_export.h>
15 #include "GeoSceneAbstractDataset.h"
16 #include "GeoDocument.h"
17 
18 #include <QPen>
19 #include <QBrush>
20 
21 namespace Marble
22 {
23 
24 class GEODATA_EXPORT GeoSceneGeodata : public GeoSceneAbstractDataset
25 {
26  public:
27  explicit GeoSceneGeodata( QString name );
28  virtual ~GeoSceneGeodata();
29  virtual const char* nodeType() const;
30 
31  bool operator==( const GeoSceneGeodata &other ) const;
32 
33  QString property() const;
34  void setProperty( QString property );
35 
36  QString sourceFile() const;
37  void setSourceFile( QString sourceFile );
38 
39  QString colorize() const;
40  void setColorize( QString colorize );
41 
42  qreal alpha() const;
43  void setAlpha( const qreal &alpha );
44 
45  QPen pen() const;
46  void setPen( const QPen& pen );
47 
48  QBrush brush() const;
49  void setBrush( const QBrush& brush );
50 
51  QList<QColor> colors() const;
52  void setColors( const QList<QColor> &colors );
53 
54  private:
55  QString m_property;
56  QString m_sourceFile;
57  QString m_colorize;
58  qreal m_alpha;
59  QPen m_pen;
60  QBrush m_brush;
61  QList<QColor> m_colors;
62 };
63 
64 }
65 
66 
67 #endif
QBrush
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoSceneAbstractDataset
Contents used inside a layer.
Definition: GeoSceneAbstractDataset.h:37
GeoDocument.h
QString
QList< QColor >
GeoSceneAbstractDataset.h
QPen
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
Marble::GeoSceneGeodata
Definition: GeoSceneGeodata.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal