IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Location C++ API

Information about the Qt Location C++ API.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Location C++ API

The Location API provides a library for mapping, navigation and place information.

The Qt Location API provides the developer with a set of functions to interact with maps, navigational data and places of interest. This is particularly useful when associated with current position information which can be retrieved via the QtPositioning module.

With the Maps API we can associate a position with a map in various formats supplied by a backend. Then the Places API could be used to populate places on the Map or even specify the current position as a place of interest and associate it with an icon, contact details and other information.

The following table provides links to more detailed information on sections of the Qt Location C++ API.

Maps and Navigation

Displaying maps and finding routes.

Places

Searching for and managing points of interest.

Geoservices Plugin Implementation

Implement new geoservices and positioning plugins.

Geoservice Provider Classes

  • QGeoServiceProvider: The QGeoServiceProvider class aggregates access to services which provide geographical information.

Maps and Navigation Classes

Currently it is not possible to interact with maps data via C++. The only available interface is the Maps and Navigation (QML) API.

  • QGeoManeuver: The QGeoManeuver class represents the information relevant to the point at which two QGeoRouteSegments meet.

  • QGeoRoute: The QGeoRoute class represents a route between two points.

  • QGeoRouteReply: The QGeoRouteReply class manages an operation started by an instance of QGeoRoutingManager.

  • QGeoRouteRequest: The QGeoRouteRequest class represents the parameters and restrictions which define a request for routing information.

  • QGeoRouteSegment: The QGeoRouteSegment class represents a segment of a route.

  • QGeoRoutingManager: The QGeoRoutingManager class provides support for geographic routing operations.

  • QGeoCodeReply: The QGeoCodeReply class manages an operation started by an instance of QGeoCodingManager.

  • QGeoCodingManager: The QGeoCodingManager class provides support for geocoding operations.

Places Classes

  • QPlace: The QPlace class represents a set of data about a place.

  • QPlaceAttribute: The QPlaceAttribute class represents generic attribute information about a place.

  • QPlaceCategory: The QPlaceCategory class represents a category that a QPlace can be associated with.

  • QPlaceContactDetail: The QPlaceContactDetail class represents a contact detail such as a phone number or website url.

  • QPlaceContent: The QPlaceContent class holds content about places.

  • QPlaceContentReply: The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager.

  • QPlaceContentRequest: The QPlaceContentRequest class represents the parameters of a content request.

  • QPlaceDetailsReply: The QPlaceDetailsReply class manages a place details fetch operation started by an instance of QPlaceManager.

  • QPlaceIcon: The QPlaceIcon class represents an icon.

  • QPlaceIdReply: The QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories.

  • QPlaceManager: The QPlaceManager class provides the interface which allows clients to access places stored in a particular backend.

  • QPlaceManagerEngine: The QPlaceManagerEngine class provides an interface for implementers of QGeoServiceProvider plugins who want to provide access to place functionality.

  • QPlaceMatchReply: The QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager.

  • QPlaceMatchRequest: The QPlaceMatchRequest class is used to find places from one manager that match those from another. It represents a set of request parameters.

  • QPlaceProposedSearchResult: The QPlaceProposedSearchResult class represents a search result containing a proposed search.

  • QPlaceRatings: The QPlaceRatings class holds rating information about a place.

  • QPlaceReply: The QPlaceReply class manages an operation started by an instance of QPlaceManager and serves as a base class for more specialized replies.

  • QPlaceResult: The QPlaceResult class represents a search result containing a place.

  • QPlaceSearchReply: The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager.

  • QPlaceSearchRequest: The QPlaceSearchRequest class represents the set of parameters for a search request.

  • QPlaceSearchResult: The QPlaceSearchResult class is the base class for search results.

  • QPlaceSearchSuggestionReply: The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager.

  • QPlaceSupplier: The QPlaceSupplier class represents a supplier of a place or content associated with a place.

  • QPlaceUser: The QPlaceUser class represents an individual user.

Geoservices and Positioning Plugin Classes

  • QGeoCodingManagerEngine: The QGeoCodingManagerEngine class provides an interface and convenience methods to implementers of QGeoServiceProvider plugins who want to provide support for geocoding operations.

  • QGeoRoutingManagerEngine: The QGeoRoutingManagerEngine class provides an interface and convenience methods to implementers of QGeoServiceProvider plugins who want to provide access to geographic routing information.

  • QPlaceManagerEngine: The QPlaceManagerEngine class provides an interface for implementers of QGeoServiceProvider plugins who want to provide access to place functionality.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+