• 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
  • data
GeoDataOverlay.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 2012 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 
12 #ifndef MARBLE_GEODATAOVERLAY_H
13 #define MARBLE_GEODATAOVERLAY_H
14 
15 #include "geodata_export.h"
16 #include "GeoDataFeature.h"
17 
18 #include <QVector>
19 #include <QColor>
20 #include <QImage>
21 
22 namespace Marble
23 {
24 
25 class GeoDataOverlayPrivate;
26 
27 class GEODATA_EXPORT GeoDataOverlay: public GeoDataFeature
28 {
29  public:
31  GeoDataOverlay();
32 
33  ~GeoDataOverlay();
34 
35  GeoDataOverlay( const GeoDataOverlay &other );
36 
37  GeoDataOverlay& operator=( const GeoDataOverlay &other );
38 
39  QColor color() const;
40 
41  void setColor( const QColor &color );
42 
43  int drawOrder() const;
44 
45  void setDrawOrder( int order );
46 
47  QImage icon() const;
48 
49  void setIcon( const QImage &icon );
50 
51  void setIconFile( const QString &path );
52 
53  QString iconFile() const;
54 
60  QString absoluteIconFile() const;
61 
62 private:
63  GeoDataOverlayPrivate * const d;
64 
65 protected:
66  bool equals(const GeoDataOverlay &other) const;
67  using GeoDataFeature::equals;
68 };
69 
70 }
71 
72 #endif
Marble::GeoDataFeature::equals
bool equals(const GeoDataFeature &other) const
Definition: GeoDataFeature.cpp:94
GeoDataFeature.h
QString
QColor
QImage
Marble::GeoDataOverlay
Definition: GeoDataOverlay.h:27
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:57
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
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