Marble
RouteRequest.cpp
206void RouteRequest::insert( int index, const GeoDataCoordinates &coordinates, const QString &name )
268void RouteRequest::setPosition( int index, const GeoDataCoordinates &position, const QString &name )
299 d->m_route[index].extendedData().addValue(GeoDataData(QStringLiteral("routingVisited"), visited));
317 visited = d->m_route[index].extendedData().value(QStringLiteral("routingVisited")).value().toBool();
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:49
GeoDataCoordinates coordinate(const QDateTime &dateTime=QDateTime(), bool *iconAtCoordinates=nullptr) const
Return the coordinates of the placemark at time dateTime as a GeoDataCoordinates.
Definition GeoDataPlacemark.cpp:214
void setCoordinate(qreal longitude, qreal latitude, qreal altitude=0, GeoDataCoordinates::Unit _unit=GeoDataCoordinates::Radian)
Set the coordinate of the placemark in longitude and latitude.
Definition GeoDataPlacemark.cpp:269
GeoDataCoordinates source() const
The first point, or a default constructed if empty.
Definition RouteRequest.cpp:128
void positionAdded(int index)
An element was added at the given position.
void positionChanged(int index, const GeoDataCoordinates &position)
The value of the n-th element was changed.
void swap(int index1, int index2)
Swaps the given elements at the given positions.
Definition RouteRequest.cpp:220
void setPosition(int index, const GeoDataCoordinates &position, const QString &name=QString())
Change the value of the element at the given position.
Definition RouteRequest.cpp:268
void insert(int index, const GeoDataCoordinates &coordinates, const QString &name=QString())
Add the given element at the given position.
Definition RouteRequest.cpp:206
void routingProfileChanged()
The routing profile was changed.
void positionRemoved(int index)
The element at the given position was removed.
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition RouteRequest.cpp:146
void append(const GeoDataCoordinates &coordinates, const QString &name=QString())
Add the given element to the end.
Definition RouteRequest.cpp:232
GeoDataCoordinates destination() const
The last point, or a default constructed if empty.
Definition RouteRequest.cpp:137
QPixmap pixmap(int index, int size=-1, int margin=2) const
Returns a pixmap which indicates the position of the element.
Definition RouteRequest.cpp:151
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void setPointSize(int pointSize)
Format_ARGB32_Premultiplied
void fill(Qt::GlobalColor color)
iterator begin()
bool contains(const Key &key) const const
iterator end()
iterator erase(const_iterator first, const_iterator last)
iterator insert(const Key &key, const T &value)
T qobject_cast(QObject *object)
Antialiasing
void drawEllipse(const QPoint ¢er, int rx, int ry)
void drawText(const QPoint &position, const QString &text)
const QFont & font() const const
void setBrush(Qt::BrushStyle style)
void setFont(const QFont &font)
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
AlignCenter
black
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:49:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:49:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.