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

marble

  • Marble
  • VisiblePlacemark
Public Types | Public Member Functions | List of all members
Marble::VisiblePlacemark Class Reference

#include <VisiblePlacemark.h>

Public Types

enum  LabelStyle { Normal = 0, Glow, Selected }
 

Public Member Functions

 VisiblePlacemark (const GeoDataPlacemark *placemark)
 
const QPointF hotSpot () const
 
const QPixmap & labelPixmap () const
 
const QRectF & labelRect () const
 
const GeoDataPlacemark * placemark () const
 
bool selected () const
 
void setLabelRect (const QRectF &area)
 
void setSelected (bool selected)
 
void setSymbolPosition (const QPoint &position)
 
const QPixmap & symbolPixmap () const
 
const QPoint & symbolPosition () const
 

Detailed Description

A class which represents the visible place marks on a map.

This class is used by PlacemarkLayout to pass the visible place marks to the PlacemarkPainter.

Definition at line 38 of file VisiblePlacemark.h.

Member Enumeration Documentation

enum Marble::VisiblePlacemark::LabelStyle
Enumerator
Normal 
Glow 
Selected 

Definition at line 94 of file VisiblePlacemark.h.

Constructor & Destructor Documentation

VisiblePlacemark::VisiblePlacemark ( const GeoDataPlacemark *  placemark)
explicit

Definition at line 26 of file VisiblePlacemark.cpp.

Member Function Documentation

const QPointF VisiblePlacemark::hotSpot ( ) const

Returns the top left corner of the place mark symbol's hot spot.

Definition at line 65 of file VisiblePlacemark.cpp.

const QPixmap & VisiblePlacemark::labelPixmap ( ) const

Returns the pixmap of the place mark name label.

Definition at line 105 of file VisiblePlacemark.cpp.

const QRectF & VisiblePlacemark::labelRect ( ) const

Returns the area covered by the place mark name label on the map.

Definition at line 110 of file VisiblePlacemark.cpp.

const GeoDataPlacemark * VisiblePlacemark::placemark ( ) const

Returns the index of the place mark model which is associated with this visible place mark.

Definition at line 33 of file VisiblePlacemark.cpp.

bool VisiblePlacemark::selected ( ) const

Returns the state of the place mark.

Definition at line 49 of file VisiblePlacemark.cpp.

void VisiblePlacemark::setLabelRect ( const QRectF &  area)

Sets the area covered by the place mark name label on the map.

Definition at line 115 of file VisiblePlacemark.cpp.

void VisiblePlacemark::setSelected ( bool  selected)

Sets the state of the place mark.

Definition at line 54 of file VisiblePlacemark.cpp.

void VisiblePlacemark::setSymbolPosition ( const QPoint &  position)

Sets the position of the place mark symbol on the map.

Definition at line 100 of file VisiblePlacemark.cpp.

const QPixmap & VisiblePlacemark::symbolPixmap ( ) const

Returns the pixmap of the place mark symbol.

Definition at line 38 of file VisiblePlacemark.cpp.

const QPoint & VisiblePlacemark::symbolPosition ( ) const

Returns the position of the place mark symbol on the map.

Definition at line 60 of file VisiblePlacemark.cpp.


The documentation for this class was generated from the following files:
  • VisiblePlacemark.h
  • VisiblePlacemark.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 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