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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataStyle.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 2007 Murad Tagirov <tmurad@gmail.com>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 
13 #ifndef MARBLE_GEODATASTYLE_H
14 #define MARBLE_GEODATASTYLE_H
15 
16 
17 #include <QMetaType>
18 #include <QPoint>
19 #include <QColor>
20 #include <QPixmap>
21 #include <QFont>
22 
23 #include "GeoDataStyleSelector.h"
24 #include "GeoDataIconStyle.h"
25 #include "GeoDataLabelStyle.h"
26 #include "GeoDataPolyStyle.h"
27 #include "GeoDataLineStyle.h"
28 #include "GeoDataBalloonStyle.h"
29 #include "GeoDataListStyle.h"
30 
31 #include "geodata_export.h"
32 
33 namespace Marble
34 {
35 
36 class GeoDataStylePrivate;
37 
55 class GEODATA_EXPORT GeoDataStyle : public GeoDataStyleSelector
56 {
57  public:
59  GeoDataStyle();
60  GeoDataStyle( const GeoDataStyle& other );
67  GeoDataStyle( const QImage& icon,
68  const QFont &font, const QColor &color );
69  ~GeoDataStyle();
70 
72  virtual const char* nodeType() const;
73 
75  void setIconStyle( const GeoDataIconStyle& style );
77  GeoDataIconStyle& iconStyle() const;
79  void setLabelStyle( const GeoDataLabelStyle& style );
81  GeoDataLabelStyle& labelStyle() const;
83  void setLineStyle( const GeoDataLineStyle& style );
85  GeoDataLineStyle& lineStyle() const;
87  void setPolyStyle( const GeoDataPolyStyle& style );
89  GeoDataPolyStyle& polyStyle() const;
91  void setBalloonStyle( const GeoDataBalloonStyle& style );
93  GeoDataBalloonStyle& balloonStyle();
94  const GeoDataBalloonStyle& balloonStyle() const;
96  void setListStyle( const GeoDataListStyle& style );
98  GeoDataListStyle& listStyle();
99  const GeoDataListStyle& listStyle() const;
100 
105  GeoDataStyle& operator=( const GeoDataStyle& other );
106 
111  virtual void pack( QDataStream& stream ) const;
116  virtual void unpack( QDataStream& stream );
117 
118  private:
119  GeoDataStylePrivate * const d;
120 };
121 
122 }
123 
124 Q_DECLARE_METATYPE( Marble::GeoDataStyle* )
125 Q_DECLARE_METATYPE( const Marble::GeoDataStyle* )
126 
127 #endif
GeoDataListStyle.h
Marble::GeoDataIconStyle
Definition: GeoDataIconStyle.h:29
Marble::GeoDataLineStyle
specifies the style how lines are drawn
Definition: GeoDataLineStyle.h:36
GeoDataIconStyle.h
GeoDataLineStyle.h
Marble::GeoDataStyle
an addressable style group
Definition: GeoDataStyle.h:55
GeoDataLabelStyle.h
Marble::GeoDataBalloonStyle
Definition: GeoDataBalloonStyle.h:23
GeoDataStyleSelector.h
Marble::GeoDataLabelStyle
specifies how the name of a GeoDataFeature is drawn
Definition: GeoDataLabelStyle.h:36
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
Marble::GeoDataStyleSelector
a base class for the style classes
Definition: GeoDataStyleSelector.h:40
Marble::GeoDataPolyStyle
specifies the style how polygons are drawn
Definition: GeoDataPolyStyle.h:34
GeoDataBalloonStyle.h
GeoDataPolyStyle.h
Marble::GeoDataListStyle
Definition: GeoDataListStyle.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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