QtRemoteObjects Namespace
Lo spazio dei nomi QtRemoteObjects contiene gli identificatori utilizzati nel modulo Remote Objects, oltre ad alcune funzioni utilizzate dal codice generato dal Replica Compiler (repc). Per saperne di più...
| Intestazione: | #include <QtRemoteObjects> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake: | QT += remoteobjects |
Tipi
| enum | InitialAction { FetchRootSize, PrefetchData } |
Documentazione sui tipi
enum QtRemoteObjects::InitialAction
Questo tipo di enumerazione specifica l'azione iniziale all'acquisizione di una replica derivata da QAbstractItemModel.
| Costante | Valore | Descrizione |
|---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Prima dell’emissione del segnale ` initialized ` viene richiesta solo la dimensione del modello; nessun dato verrà precaricato prima di allora. |
QtRemoteObjects::PrefetchData | 1 | Alcuni dati possono essere precaricati prima che venga emesso il segnale ` initialized `. |
Vedi anche QRemoteObjectNode::acquireModel() e QRemoteObjectReplica::initialized().
© 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.