このページでは

AbstractObjectRegistryRef QML Type (Uncreatable)

Qt Qml のすべての「Design Support」オブジェクト参照型の基底型です。詳細...

Import Statement: import QtQml.DesignSupport
Since: Qt 6.12
In C++: QAbstractObjectRegistryRef
Inherited By:

MultiObjectRegistryRef and ObjectRegistryRef

注:これは作成不可能な型です。QML ではインスタンス化できません。

プロパティ

詳細な説明

この型は直接インスタンス化することはできません。代わりに、以下の派生型のいずれかを使用してください:ObjectRegistryRef またはMultiObjectRegistryRef 。

同じキーで複数のオブジェクトが登録されている場合は、派生型 `MultiObjectRegistryRef` を使用してください。これは通常、モデルによってインスタンス化されたデリゲートオブジェクトが登録される場合に発生します。そのキーが単一のオブジェクトのみを登録するために使用されることが分かっている場合は、派生型 `ObjectRegistryRef ` を使用することを推奨します。

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

key : string

このプロパティは、この参照が指す登録済みオブジェクトのキーを指定します。

「ObjectRegistry」も参照してください 。

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