• 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
  • 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  Q_DISABLE_COPY(GeoWidgetBubble)
40  QWidget *m_widget;
41  bool m_hidden;
42  bool m_widgetInitialized;
43  QPoint m_offset;
44  QPoint m_screenPosition;
45 };
46 
47 }
48 
49 #endif // GEOWIDGETBUBBLE_H
QWidget
Marble::GeoWidgetBubble
Definition: GeoWidgetBubble.h:24
Marble::GeoWidgetBubble::GeoWidgetBubble
GeoWidgetBubble(GeoDataPlacemark *placemark)
Definition: GeoWidgetBubble.cpp:25
QPoint
Marble::GeoWidgetBubble::~GeoWidgetBubble
~GeoWidgetBubble()
Definition: GeoWidgetBubble.cpp:35
Marble::GeoWidgetBubble::moveTo
void moveTo(const QPoint &screenPos)
Definition: GeoWidgetBubble.cpp:84
QPainter
Marble::GeoWidgetBubble::setParentWidget
void setParentWidget(QWidget *parent)
Definition: GeoWidgetBubble.cpp:77
Marble::GeoWidgetBubble::paint
void paint(QPainter *p)
Definition: GeoWidgetBubble.cpp:40
Marble::GeoWidgetBubble::setHidden
void setHidden(bool hide)
Definition: GeoWidgetBubble.cpp:89
Marble::GeoWidgetBubble::isHidden
bool isHidden() const
Definition: GeoWidgetBubble.cpp:103
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-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