AbstractObjectRegistryRef QML Type
Base type for all Qt Qml Design Support object reference types. More...
| Import Statement: | import QtQml.DesignSupport |
| Since: | Qt 6.12 |
| In C++: | QAbstractObjectRegistryRef |
| Inherited By: |
- List of all members, including inherited members
- AbstractObjectRegistryRef is part of Qt Qml Design Support QML Types.
Properties
- key : string
Detailed Description
This type cannot be instantiated directly. Instead, use one of the following derived types: ObjectRegistryRef or MultiObjectRegistryRef.
If multiple objects are registered with the same key, use the derived type MultiObjectRegistryRef. Typically this happens when delegate objects instantiated by models are registered. If you know the key is used to register only a single object, using the derived type ObjectRegistryRef is recommended.
Property Documentation
key : string
This property specifies the key of the registered object that this reference refers to.
See also 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.