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

marble

  • Marble
  • PlacemarkTextAnnotation
Public Member Functions | Protected Member Functions | List of all members
Marble::PlacemarkTextAnnotation Class Reference

#include <PlacemarkTextAnnotation.h>

Inheritance diagram for Marble::PlacemarkTextAnnotation:
Inheritance graph
[legend]

Public Member Functions

 PlacemarkTextAnnotation (GeoDataPlacemark *placemark)
 
 ~PlacemarkTextAnnotation ()
 
virtual const char * graphicType () const
 
virtual void paint (GeoPainter *painter, const ViewportParams *viewport)
 
- Public Member Functions inherited from Marble::SceneGraphicsItem
 SceneGraphicsItem (GeoDataPlacemark *placemark)
 
 ~SceneGraphicsItem ()
 
const GeoDataPlacemark * placemark () const
 
GeoDataPlacemark * placemark ()
 
QList< QRegion > regions () const
 
bool sceneEvent (QEvent *event)
 
void setRegions (const QList< QRegion > &regions)
 
- Public Member Functions inherited from Marble::GeoGraphicsItem
 GeoGraphicsItem (const GeoDataFeature *feature)
 
virtual ~GeoGraphicsItem ()
 
const GeoDataFeature * feature () const
 
GeoGraphicsItemFlags flags () const
 
virtual const GeoDataLatLonAltBox & latLonAltBox () const
 
int minZoomLevel () const
 
void setFlag (GeoGraphicsItemFlag flag, bool enabled=true)
 
void setFlags (GeoGraphicsItemFlags flags)
 
void setLatLonAltBox (const GeoDataLatLonAltBox &latLonAltBox)
 
void setMinZoomLevel (int zoomLevel)
 
void setStyle (const GeoDataStyle *style)
 
void setVisible (bool visible)
 
void setZValue (qreal z)
 
const GeoDataStyle * style () const
 
bool visible () const
 
qreal zValue () const
 

Protected Member Functions

virtual bool mouseMoveEvent (QMouseEvent *event)
 
virtual bool mousePressEvent (QMouseEvent *event)
 
virtual bool mouseReleaseEvent (QMouseEvent *event)
 

Additional Inherited Members

- Public Types inherited from Marble::GeoGraphicsItem
enum  GeoGraphicsItemFlag { NoOptions = 0x0, ItemIsMovable = 0x1, ItemIsSelectable = 0x2, ItemIsVisible = 0x4 }
 
- Protected Attributes inherited from Marble::GeoGraphicsItem
GeoGraphicsItemPrivate *const d
 

Detailed Description

Definition at line 23 of file PlacemarkTextAnnotation.h.

Constructor & Destructor Documentation

Marble::PlacemarkTextAnnotation::PlacemarkTextAnnotation ( GeoDataPlacemark *  placemark)
explicit

Definition at line 31 of file PlacemarkTextAnnotation.cpp.

Marble::PlacemarkTextAnnotation::~PlacemarkTextAnnotation ( )

Definition at line 37 of file PlacemarkTextAnnotation.cpp.

Member Function Documentation

const char * Marble::PlacemarkTextAnnotation::graphicType ( ) const
virtual

Provides information for downcasting a SceneGraphicsItem.

Implements Marble::SceneGraphicsItem.

Definition at line 63 of file PlacemarkTextAnnotation.cpp.

bool Marble::PlacemarkTextAnnotation::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Implements Marble::SceneGraphicsItem.

Definition at line 75 of file PlacemarkTextAnnotation.cpp.

bool Marble::PlacemarkTextAnnotation::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Pure virtual functions which handle the mouse events, all of which are re-implemented in every SceneGraphicItem derived classes.

Implements Marble::SceneGraphicsItem.

Definition at line 68 of file PlacemarkTextAnnotation.cpp.

bool Marble::PlacemarkTextAnnotation::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Implements Marble::SceneGraphicsItem.

Definition at line 81 of file PlacemarkTextAnnotation.cpp.

void Marble::PlacemarkTextAnnotation::paint ( GeoPainter *  painter,
const ViewportParams *  viewport 
)
virtual

Paints the item using the given GeoPainter.

Note that depending on the projection and zoom level, the item may be visible more than once, which is taken care of by GeoPainter.

Implements Marble::GeoGraphicsItem.

Definition at line 42 of file PlacemarkTextAnnotation.cpp.


The documentation for this class was generated from the following files:
  • PlacemarkTextAnnotation.h
  • PlacemarkTextAnnotation.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 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