• 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
  • plugins
  • render
  • annotate
GeoWidgetBubble.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 2009 Andrew Manson <g.real.ate@gmail.com>
9 // Copyright 2013 Thibaut Gridel <tgridel@free.fr>
10 //
11 
12 #ifndef GEOWIDGETBUBBLE_H
13 #define GEOWIDGETBUBBLE_H
14 
15 #include <QString>
16 #include <QWidget>
17 
18 namespace Marble
19 {
20 
21 class GeoDataPlacemark;
22 class GeoSceneLayer;
23 
24 class GeoWidgetBubble
25 {
26 public:
27  explicit GeoWidgetBubble( GeoDataPlacemark *placemark );
28  ~GeoWidgetBubble();
29 
30  void paint(QPainter* p);
31 
32  void setParentWidget( QWidget* parent );
33 
34  void moveTo( const QPoint &screenPos );
35  void setHidden( bool hide );
36  bool isHidden() const;
37 
38 private:
39  QWidget* m_widget;
40  bool m_hidden;
41  bool m_widgetInitialized;
42  QPoint m_offset;
43  QPoint m_screenPosition;
44 
45 
46 };
47 
48 }
49 
50 #endif // GEOWIDGETBUBBLE_H
QPainter
Marble::GeoWidgetBubble
Definition: GeoWidgetBubble.h:24
Marble::GeoWidgetBubble::GeoWidgetBubble
GeoWidgetBubble(GeoDataPlacemark *placemark)
Definition: GeoWidgetBubble.cpp:24
QWidget
Marble::GeoWidgetBubble::~GeoWidgetBubble
~GeoWidgetBubble()
Definition: GeoWidgetBubble.cpp:34
Marble::GeoWidgetBubble::moveTo
void moveTo(const QPoint &screenPos)
Definition: GeoWidgetBubble.cpp:87
Marble::GeoWidgetBubble::setParentWidget
void setParentWidget(QWidget *parent)
Definition: GeoWidgetBubble.cpp:80
Marble::GeoWidgetBubble::paint
void paint(QPainter *p)
Definition: GeoWidgetBubble.cpp:39
Marble::GeoWidgetBubble::setHidden
void setHidden(bool hide)
Definition: GeoWidgetBubble.cpp:92
Marble::GeoWidgetBubble::isHidden
bool isHidden() const
Definition: GeoWidgetBubble.cpp:106
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
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