En esta página

supplier QML Value Type

Contiene datos sobre el proveedor de un lugar, su imagen, reseña o editorial. Más...

Import Statement: import QtLocation 6.11
Since: QtLocation 5.5

Descripción detallada

Cada instancia representa un conjunto de datos sobre un proveedor, que puede incluir el nombre, la url y el icono del proveedor. El proveedor suele ser una empresa u organización.

Nota: La API de Places sólo admite proveedores como objetos de "sólo recuperación". No es posible enviar proveedores a un proveedor.

Ejemplo

El siguiente ejemplo muestra cómo crear y mostrar un proveedor en 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
}

Véase también ImageModel, ReviewModel y EditorialModel.

© 2026 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.