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