SupplierThe Supplier element holds data regarding the supplier of a place, a place's image, review, or editorial. More... Inherits QtObject This type was introduced in Qt Location 5.0. Properties
Detailed DescriptionEach instance represents a set of data about a supplier, which can include supplier's name, url and icon. The supplier is typically a business or organization. Note: The Places API only supports suppliers as 'retrieve-only' objects. Submitting suppliers to a provider is not a supported use case. ExampleThe following example shows how to create and display a supplier in QML: import QtQuick 2.0 import QtLocation 5.0 Supplier { id: placeSupplier name: "Example" url: "http://www.example.com/" } Text { text: "This place is was provided by " + placeSupplier.name + "\n" + placeSupplier.url } See also ImageModel, ReviewModel, and EditorialModel. Property DocumentationThis property holds the name of the supplier which can be displayed to the user. The name can potentially be localized. The language is dependent on the entity that sets it, typically this is the Plugin. The Plugin::locales property defines what language is used. For details on how to use this property to interface between C++ and QML see "Interfaces between C++ and QML Code". This property holds the identifier of the supplier. The identifier is unique to the Plugin backend which provided the supplier and is generally not suitable for displaying to the user. This property holds the URL of the supplier's website. |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 5.0-snapshot | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter contacter par email ou par MP ! |
Copyright © 2000-2012 - www.developpez.com