Marble
RoutingManager.h
31 Q_PROPERTY(bool guidanceModeEnabled READ guidanceModeEnabled WRITE setGuidanceModeEnabled NOTIFY guidanceModeEnabledChanged)
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:48
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:84
QString lastOpenPath() const
Return last directory the user opened a route from.
Definition RoutingManager.cpp:592
void setGuidanceModeEnabled(bool enabled)
Toggle turn by turn navigation mode.
Definition RoutingManager.cpp:496
RoutingProfile defaultProfile(RoutingProfile::TransportType transportType) const
Generates a routing profile with default settings for the given transport type.
Definition RoutingManager.cpp:460
void loadRoute(const QString &filename)
Opens the given filename (kml format) and loads the route contained in it.
Definition RoutingManager.cpp:455
QColor routeColorStandard() const
Get color for standard route rendering.
Definition RoutingManager.cpp:612
void setRouteColorAlternative(const QColor &color)
Set color for alternative route rendering.
Definition RoutingManager.cpp:627
RoutingModel * routingModel()
Provides access to the routing model which contains a list of routing instructions describing steps t...
Definition RoutingManager.cpp:277
void setShowGuidanceModeStartupWarning(bool show)
Set whether a warning message should be shown to the user before starting guidance mode.
Definition RoutingManager.cpp:577
RoutingProfilesModel * profilesModel()
Provides access to the model which contains all possible routing profiles.
Definition RoutingManager.cpp:272
AlternativeRoutesModel * alternativeRoutesModel()
Provides access to the model which contains a list of alternative routes.
Definition RoutingManager.cpp:440
RoutingManager(MarbleModel *marbleModel, QObject *parent=nullptr)
Constructor.
Definition RoutingManager.cpp:257
void setRouteColorStandard(const QColor &color)
Set color for standard route rendering.
Definition RoutingManager.cpp:607
void setRouteColorHighlighted(const QColor &color)
Set color for highlighted route rendering.
Definition RoutingManager.cpp:617
void stateChanged(RoutingManager::State newState)
Directions and waypoints for the given route are being downloaded or have been retrieved – newState t...
bool showGuidanceModeStartupWarning() const
Returns true (default) if a warning is shown to the user when starting guidance mode.
Definition RoutingManager.cpp:582
void setLastSavePath(const QString &path)
Set last directory the user saved a route to.
Definition RoutingManager.cpp:597
void setLastOpenPath(const QString &path)
Set last directory the user opened a route from.
Definition RoutingManager.cpp:587
void saveRoute(const QString &filename) const
Saves the current route to the file with the given filename.
Definition RoutingManager.cpp:450
QColor routeColorHighlighted() const
Get color for highlighted route rendering.
Definition RoutingManager.cpp:622
QColor routeColorAlternative() const
Get color for alternative route rendering.
Definition RoutingManager.cpp:632
void writeSettings() const
Saves the current route request and the current route to disk.
Definition RoutingManager.cpp:445
QString lastSavePath() const
Return last directory the user saved a route to.
Definition RoutingManager.cpp:602
void readSettings()
Restores a previously saved route request and route from disk, if any.
Definition RoutingManager.cpp:491
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.