Marble
RoutingLayer.h
Q_OBJECTQ_OBJECT
ViewContext
This enum is used to choose context in which map quality gets used.
Definition: MarbleGlobal.h:66
Q_SLOTSQ_SLOTS
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=nullptr) override
Reimplemented from LayerInterface.
Definition: RoutingLayer.cpp:667
QStringList renderPosition() const override
Reimplemented from LayerInterface.
Definition: RoutingLayer.cpp:657
void setPlacemarkModel(MarblePlacemarkModel *model)
Set the placemark model to use.
Definition: RoutingLayer.cpp:730
virtual bool event(QEvent *e)
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:41
void synchronizeWith(QItemSelectionModel *selection)
Set the proxy model another QAbstractItemView uses that should share its selection model with us.
Definition: RoutingLayer.cpp:736
void setInteractive(bool interactive)
Determine whether the route can be edited by the user (via points added, route cleared)
Definition: RoutingLayer.cpp:796
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
bool eventFilter(QObject *obj, QEvent *event) override
Overriding QWidget, used to make the layer interactive.
Definition: RoutingLayer.cpp:704
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:88
Q_SIGNALSQ_SIGNALS
void placemarkSelected(const QModelIndex &index)
A placemark was selected (clicked) by the user.
void setViewContext(ViewContext viewContext)
Set the view context to determine whether the map is used interactively.
Definition: RoutingLayer.cpp:791
RoutingLayer(MarbleWidget *widget, QWidget *parent=nullptr)
Constructor.
Definition: RoutingLayer.cpp:637
A paint layer that serves as a view on a route model.
Definition: RoutingLayer.h:29
This class represents a model of all place marks which are currently available through a given Placem...
Definition: MarblePlacemarkModel.h:30
QObject * parent() const const
bool isInteractive() const
Returns whether the route is interactive (true by default if not changed by setInteractive)
Definition: RoutingLayer.cpp:801
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.