• 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
GeoDataBalloonStyle.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 Mohammed Nafees <nafees.technocool@gmail.com>
9 //
10 
11 #ifndef GEODATABALLOONSTYLE_H
12 #define GEODATABALLOONSTYLE_H
13 
14 #include "MarbleGlobal.h"
15 #include "GeoDataColorStyle.h"
16 #include "geodata_export.h"
17 
18 namespace Marble
19 {
20 
21 class GeoDataBalloonStylePrivate;
22 
23 class GEODATA_EXPORT GeoDataBalloonStyle : public GeoDataColorStyle
24 {
25 public:
26  GeoDataBalloonStyle();
27 
28  GeoDataBalloonStyle( const GeoDataBalloonStyle &other );
29 
30  GeoDataBalloonStyle& operator=( const GeoDataBalloonStyle &other );
31  bool operator==( const GeoDataBalloonStyle &other ) const;
32  bool operator!=( const GeoDataBalloonStyle &other ) const;
33 
34 
35  ~GeoDataBalloonStyle();
36 
38  virtual const char* nodeType() const;
39 
40  enum DisplayMode {
41  Default,
42  Hide
43  };
44 
45  QColor backgroundColor() const;
46  void setBackgroundColor( const QColor &color );
47 
48  QColor textColor() const;
49  void setTextColor( const QColor &color );
50 
51  QString text() const;
52  void setText( const QString &text );
53 
54  DisplayMode displayMode() const;
55  void setDisplayMode( const DisplayMode &mode );
56 
57  virtual void pack( QDataStream& stream ) const;
58 
59  virtual void unpack( QDataStream& stream );
60 
61 private:
62  GeoDataBalloonStylePrivate* const d;
63 };
64 
65 }
66 
67 #endif
GeoDataColorStyle.h
QDataStream
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataColorStyle
an abstract base class for various style classes
Definition: GeoDataColorStyle.h:64
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
Marble::GeoDataBalloonStyle::DisplayMode
DisplayMode
Definition: GeoDataBalloonStyle.h:40
QString
QColor
Marble::GeoDataBalloonStyle
Definition: GeoDataBalloonStyle.h:23
MarbleGlobal.h
Marble::GeoDataBalloonStyle::Default
Definition: GeoDataBalloonStyle.h:41
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