Name Description Size Coverage
CMakeLists.txt 1059 -
doc -
qabstractobjectregistryref.cpp ! \class QAbstractObjectRegistryRef \inmodule QtQmlDesignSupport \ingroup qmldesignsupport \brief The QAbstractObjectRegistryRef class is a base class for all \QDesSup object reference classes. This class can't be instantiated on its own, you must use one of the following derived classes: QObjectRegistryRef or QMultiObjectRegistryRef If multiple objects are registered with the same key, use the derived class QMultiObjectRegistryRef. 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 class QObjectRegistryRef is recommended. 5911 -
qabstractobjectregistryref.h 1307 -
qabstractobjectregistryref_p.h 1742 -
qmultiobjectregistryref.cpp ! \class QMultiObjectRegistryRef \inmodule QtQmlDesignSupport \ingroup qmldesignsupport \brief This class is used to access objects registered with ObjectRegistry QML type from C++ code. Multiple objects registered with the same key can be accessed via this reference. Example usage: \snippet doc_src_objectregistry.cpp 3 \codeline \snippet doc_src_objectregistry.cpp 5 \sa ObjectRegistry, QAbstractObjectRegistryRef::key 6655 -
qmultiobjectregistryref.h 1283 -
qmultiobjectregistryref_p.h 1239 -
qobjectregistry.cpp ! \qmltype ObjectRegistry \inqmlmodule QtQml.DesignSupport \ingroup qmldesignsupport_qml \brief This type is used to register objects for later access based on a key string. The object registry provides a QML engine-wide reference for objects. You register each object with a string key, which you can use later to retrieve the object through one of the following reference types: ObjectRegistryRef and MultiObjectRegistryRef. C++ classes are also provided for accessing registered objects: QObjectRegistryRef and QMultiObjectRegistryRef. The same key can be used to register multiple objects. A typical use case for this is registering a list or repeater delegate. The registered object is automatically removed from the registry on either object destruction or ObjectRegistry instance destruction. Changing the target object or the key removes the old combination from the registry. Do not register the same object and key combination more than once. Only one registration per combination is stored. The registration can be done either with attached property on the registered object or using separate ObjectRegistry object with target and key: \snippet doc_src_objectregistry.cpp 6 \sa ObjectRegistryRef, MultiObjectRegistryRef, QObjectRegistryRef, QMultiObjectRegistryRef 4632 -
qobjectregistry_p.h 2755 -
qobjectregistryref.cpp ! \class QObjectRegistryRef \inmodule QtQmlDesignSupport \ingroup qmldesignsupport \brief This class is used to access an object registered with ObjectRegistry QML type from C++ code. Example usage: \snippet doc_src_objectregistry.cpp 0 \codeline \snippet doc_src_objectregistry.cpp 2 \sa ObjectRegistry, QAbstractObjectRegistryRef::key 4689 -
qobjectregistryref.h 1063 -
qobjectregistryref_p.h 1151 -
qobjectregistrysingleton.cpp 3370 -
qobjectregistrysingleton_p.h 2632 -