このページでは

ItemSpy QML Type

アイテムのワールドサイズを追跡し、それにバインドする手段を提供します。詳細...

Import Statement: import QtQuick.VectorImage.Helpers
Since: Qt 6.11

プロパティ

詳細な説明

このタイプは、VectorImage で使用されます。これにより、ポストプロセッシングエフェクトのテクスチャサイズを、アイテムサブツリーの画面上のサイズに自動的に合わせるよう調整できます。

プロパティのドキュメント

requiredTextureSize : size

このアイテムの幅と高さを、スケーリングによるアーティファクトが発生しないようにレンダリングするために必要なテクスチャサイズです。これには、現在のトランスフォームおよび高DPIスケーリングが考慮されています。

注: 返されるサイズは 、サポートされている最大テクスチャサイズを超えることはなく、また1x1 より小さくなることもありません。

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