이 페이지에서

AbstractObjectRegistryRef QML Type (Uncreatable)

Qt Qml 의 모든 디자인 지원 객체 참조 유형에 대한 기본 유형입니다. 더 보기...

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.