Marble
PlacemarkLayout.h
115 bool layoutPlacemark(const GeoDataPlacemark *placemark, const GeoDataCoordinates &coordinates, qreal x, qreal y, bool selected);
124 QRectF roomForLabel(const GeoDataStyle::ConstPtr &style, const qreal x, const qreal y, const QString &labelText, const VisiblePlacemark *placemark) const;
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:47
Layouts the place marks with a passed QPainter.
Definition PlacemarkLayout.h:47
QList< const GeoDataFeature * > whichPlacemarkAt(const QPoint &pos)
Returns a list of model indexes that are at position pos.
Definition PlacemarkLayout.cpp:171
PlacemarkLayout(QAbstractItemModel *placemarkModel, QItemSelectionModel *selectionModel, MarbleClock *clock, const StyleBuilder *styleBuilder, QObject *parent=nullptr)
Creates a new place mark layout.
Definition PlacemarkLayout.cpp:75
QList< VisiblePlacemark * > generateLayout(const ViewportParams *viewport, int tileLevel)
Definition PlacemarkLayout.cpp:320
void addPlacemarks(const QModelIndex &index, int first, int last)
feed an internal QMap of placemarks with TileId as key when model changes
Definition PlacemarkLayout.cpp:195
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
A class which represents the visible place marks on a map.
Definition VisiblePlacemark.h:36
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.