Marble
RoutingInputWidget.h
134 void retrieveReverseGeocodingResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark );
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:49
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:87
This class represents a model of all place marks which are currently available through a given Placem...
Definition MarblePlacemarkModel.h:31
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:338
bool hasTargetPosition() const
Returns true if the user has selected a valid geo position.
Definition RoutingInputWidget.cpp:333
void abortMapInputRequest()
Cancel a started input request from the map.
Definition RoutingInputWidget.cpp:397
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:321
MarblePlacemarkModel * searchResultModel()
Returns the placemark model that contains search results.
Definition RoutingInputWidget.cpp:358
void findPlacemarks()
Search for placemarks matching the current input text.
Definition RoutingInputWidget.cpp:347
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:404
void activityRequest(RoutingInputWidget *)
User requests to activate this widget.
bool hasInput() const
Returns false iff the input text is empty.
Definition RoutingInputWidget.cpp:375
RoutingInputWidget(MarbleModel *model, int index, QWidget *parent=nullptr)
Constructor.
Definition RoutingInputWidget.cpp:254
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
T qobject_cast(QObject *object)
enabled
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.