marble
RoutingInputWidget.h
Go to the documentation of this file.
139 void retrieveReverseGeocodingResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark );
void setIndex(int index)
Change the data index in the route request model.
Definition: RoutingInputWidget.cpp:403
This class represents a model of all place marks which are currently available through a given Placem...
Definition: MarblePlacemarkModel.h:37
GeoDataCoordinates targetPosition() const
Returns the geoposition selected by the user, or a default constructed geoposition if hasTargetPositi...
Definition: RoutingInputWidget.cpp:337
void searchFinished(RoutingInputWidget *)
All runners are finished.
bool hasInput() const
Returns false iff the input text is empty.
Definition: RoutingInputWidget.cpp:374
MarblePlacemarkModel * searchResultModel()
Returns the placemark model that contains search results.
Definition: RoutingInputWidget.cpp:357
const char * name() const
enabled
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:320
void findPlacemarks()
Search for placemarks matching the current input text.
Definition: RoutingInputWidget.cpp:346
void abortMapInputRequest()
Cancel a started input request from the map.
Definition: RoutingInputWidget.cpp:396
void targetValidityChanged(bool targetValid)
hasTargetPosition changed because of selecting a placemark or changing the search term ...
void activityRequest(RoutingInputWidget *)
User requests to activate this widget.
Combines a line edit for input and a couple of buttons to let the user type in a search term...
Definition: RoutingInputWidget.h:35
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
void mapInputModeEnabled(RoutingInputWidget *, bool enabled)
User requests position input from the map.
RoutingInputWidget(MarbleModel *model, int index, QWidget *parent=0)
Constructor.
Definition: RoutingInputWidget.cpp:254
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
bool hasTargetPosition() const
Returns true if the user has selected a valid geo position.
Definition: RoutingInputWidget.cpp:332
void removalRequest(RoutingInputWidget *)
User requests to remove this widget.
QObject * parent() const
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.