このページでは

supplier QML Value Type

場所の提供元、その場所の画像、レビュー、または編集記事に関するデータを保持しています。詳細...

Import Statement: import QtLocation 6.12
Since: QtLocation 5.5

詳細説明

各インスタンスは、サプライヤーに関する一連のデータ(サプライヤー名、URL、アイコンなど)を表します。サプライヤーとは、通常、企業や組織を指します。

注:Places API では、サプライヤーは「読み取り専用」オブジェクトとしてのみサポートされています。プロバイダーへのサプライヤーの送信は、サポート対象のユースケースではありません。

例

以下の例は、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
}

関連項目: ImageModel 、ReviewModel 、および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.