Marble
RoutingInputWidget.h
133 void retrieveReverseGeocodingResult(const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark);
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:47
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:84
This class represents a model of all place marks which are currently available through a given Placem...
Definition MarblePlacemarkModel.h:30
Combines a line edit for input and a couple of buttons to let the user type in a search term,...
Definition RoutingInputWidget.h:31
void targetValidityChanged(bool targetValid)
hasTargetPosition changed because of selecting a placemark or changing the search term
void removalRequest(RoutingInputWidget *)
User requests to remove this widget.
void searchFinished(RoutingInputWidget *)
All runners are finished.
GeoDataCoordinates targetPosition() const
Returns the geoposition selected by the user, or a default constructed geoposition if hasTargetPositi...
Definition RoutingInputWidget.cpp:336
bool hasTargetPosition() const
Returns true if the user has selected a valid geo position.
Definition RoutingInputWidget.cpp:331
void abortMapInputRequest()
Cancel a started input request from the map.
Definition RoutingInputWidget.cpp:395
void setTargetPosition(const GeoDataCoordinates &position, const QString &name=QString())
Set the target position to the given coordinates, eliminating any previously set positions.
Definition RoutingInputWidget.cpp:319
MarblePlacemarkModel * searchResultModel()
Returns the placemark model that contains search results.
Definition RoutingInputWidget.cpp:356
void findPlacemarks()
Search for placemarks matching the current input text.
Definition RoutingInputWidget.cpp:345
void mapInputModeEnabled(RoutingInputWidget *, bool enabled)
User requests position input from the map.
void setIndex(int index)
Change the data index in the route request model.
Definition RoutingInputWidget.cpp:402
void activityRequest(RoutingInputWidget *)
User requests to activate this widget.
bool hasInput() const
Returns false iff the input text is empty.
Definition RoutingInputWidget.cpp:373
RoutingInputWidget(MarbleModel *model, int index, QWidget *parent=nullptr)
Constructor.
Definition RoutingInputWidget.cpp:251
Q_SCRIPTABLE CaptureState status()
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
enabled
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.