Marble::VisiblePlacemark
#include <VisiblePlacemark.h>
Public Types | |
enum | LabelStyle { Normal = 0 , Glow , Selected } |
Signals | |
void | updateNeeded () |
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 35 of file VisiblePlacemark.h.
Member Enumeration Documentation
◆ LabelStyle
enum Marble::VisiblePlacemark::LabelStyle |
Definition at line 98 of file VisiblePlacemark.h.
Constructor & Destructor Documentation
◆ VisiblePlacemark()
|
explicit |
Definition at line 26 of file VisiblePlacemark.cpp.
Member Function Documentation
◆ boundingBox()
QRectF VisiblePlacemark::boundingBox | ( | ) | const |
Definition at line 170 of file VisiblePlacemark.cpp.
◆ coordinates()
const GeoDataCoordinates & VisiblePlacemark::coordinates | ( | ) | const |
Definition at line 175 of file VisiblePlacemark.cpp.
◆ hotSpot()
Returns the top left corner of the place mark symbol's hot spot.
Definition at line 79 of file VisiblePlacemark.cpp.
◆ labelPixmap()
Returns the pixmap of the place mark name label.
Definition at line 119 of file VisiblePlacemark.cpp.
◆ labelRect()
Returns the area covered by the place mark name label on the map.
Definition at line 143 of file VisiblePlacemark.cpp.
◆ placemark()
const GeoDataPlacemark * VisiblePlacemark::placemark | ( | ) | const |
Returns the index of the place mark model which is associated with this visible place mark.
Definition at line 40 of file VisiblePlacemark.cpp.
◆ selected()
bool VisiblePlacemark::selected | ( | ) | const |
Returns the state of the place mark.
Definition at line 61 of file VisiblePlacemark.cpp.
◆ setLabelRect()
Sets the area
covered by the place mark name label on the map.
Definition at line 148 of file VisiblePlacemark.cpp.
◆ setSelected()
void VisiblePlacemark::setSelected | ( | bool | selected | ) |
Sets the state of the place mark.
Definition at line 66 of file VisiblePlacemark.cpp.
◆ setStyle()
void VisiblePlacemark::setStyle | ( | const GeoDataStyle::ConstPtr & | style | ) |
Definition at line 153 of file VisiblePlacemark.cpp.
◆ setSymbolPosition()
Sets the position
of the place mark symbol on the map.
Definition at line 114 of file VisiblePlacemark.cpp.
◆ style()
GeoDataStyle::ConstPtr VisiblePlacemark::style | ( | ) | const |
Definition at line 160 of file VisiblePlacemark.cpp.
◆ symbolId()
Returns the id for the place mark symbol.
Definition at line 56 of file VisiblePlacemark.cpp.
◆ symbolPixmap()
Returns the pixmap of the place mark symbol.
Definition at line 45 of file VisiblePlacemark.cpp.
◆ symbolPosition()
Returns the position of the place mark symbol on the map.
Definition at line 74 of file VisiblePlacemark.cpp.
◆ symbolRect()
QRectF VisiblePlacemark::symbolRect | ( | ) | const |
Definition at line 165 of file VisiblePlacemark.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.