marble
RouteRequest.cpp
Go to the documentation of this file.
209 void RouteRequest::insert( int index, const GeoDataCoordinates &coordinates, const QString &name )
249 void RouteRequest::setPosition( int index, const GeoDataCoordinates &position, const QString &name )
void setPointSize(int pointSize)
void setRenderHint(RenderHint hint, bool on)
void positionAdded(int index)
An element was added at the given position.
const QFont & font() const
QPixmap pixmap(int index, int size=-1, int margin=2) const
Returns a pixmap which indicates the position of the element.
Definition: RouteRequest.cpp:154
void positionRemoved(int index)
The element at the given position was removed.
void insert(int index, const GeoDataCoordinates &coordinates, const QString &name=QString())
Add the given element at the given position.
Definition: RouteRequest.cpp:209
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
void setVisited(int index, bool visited)
Definition: RouteRequest.cpp:277
GeoDataCoordinates destination() const
The last point, or a default constructed if empty.
Definition: RouteRequest.cpp:140
void append(const GeoDataCoordinates &coordinates, const QString &name=QString())
Add the given element to the end.
Definition: RouteRequest.cpp:218
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:215
Definition: RoutingProfile.h:24
void positionChanged(int index, const GeoDataCoordinates &position)
The value of the n-th element was changed.
const char * name() const
void setFont(const QFont &font)
RoutingProfile routingProfile() const
Definition: RouteRequest.cpp:321
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:549
void fill(uint pixelValue)
void setPen(const QColor &color)
void drawEllipse(const QRectF &rectangle)
GeoDataPlacemark & operator[](int index)
Definition: RouteRequest.cpp:326
void setRoutingProfile(const RoutingProfile &profile)
Definition: RouteRequest.cpp:315
void setBrush(const QBrush &brush)
void drawText(const QPointF &position, const QString &text)
const QSize iconSize(16, 16)
int width(const QString &text, int len) const
const QSize imageSize(28, 28)
const Key key(const T &value) const
Definition: GeoDataData.h:26
void setName(int index, const QString &name)
Definition: RouteRequest.cpp:261
int height() const
void setPosition(int index, const GeoDataCoordinates &position, const QString &name=QString())
Change the value of the element at the given position.
Definition: RouteRequest.cpp:249
void routingProfileChanged()
The routing profile was changed.
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
GeoDataCoordinates source() const
The first point, or a default constructed if empty.
Definition: RouteRequest.cpp:131
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition: RouteRequest.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.