icon QML Value Type
アイコンの種類は場所のアイコンを表します。詳細...
Import Statement: | import QtLocation 6.8 |
Since: | QtLocation 5.5 |
詳細説明
アイコンの典型的な使用法は、url() 関数を使用して好みのアイコンサイズを指定することです。
マネージャのバックエンドが指定されたサイズをサポートしていない場合、それらのパラメータに最も近いアイコンの URL が返されます。
iconクラスには、キーと値のパラメータセットもある。正確なキーは使用するプラグインに依存します。これらのパラメータは、マネージャがどのアイコンURLを返すかに影響し、アイコンを保存する際にアイコンURLの場所を指定するために使用することもできます。
アイコンの画像が1つしかない場合、QPlaceIcon::SingleUrl をパラメータキーとして、QUrl を関連値として使用できます。このキーが設定されている場合、url()関数は常に指定されたURLを返し、どのマネージャにも委ねられません。
© 2025 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.