supplier QML Value Type

Holds data regarding the supplier of a place, a place's image, review, or editorial. More...

Import Statement: import QtLocation 6.7
Since: QtLocation 5.5

Detailed Description

Each 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.

Example

The following example shows how to create and display a supplier in QML:

import QtQuick
import QtPositioning
import QtLocation

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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.