XrErrorDialog QML Type
Finestra di dialogo di errore personalizzata per le applicazioni PCVR. Altro...
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technology preview |
Questo tipo è in anteprima tecnologica ed è soggetto a modifiche.
Metodi
- void run(string title, string message)
Descrizione dettagliata
È possibile utilizzare questo tipo quando si trasmettono contenuti in streaming da un computer desktop a un visore XR. Visualizza una finestra di dialogo sullo schermo del desktop, in genere per informare gli utenti di eventuali errori nell'inizializzazione del visore. Internamente, istanzia dinamicamente una finestra con una finestra di dialogo di messaggio.
XrView {
id: xrView
XrErrorDialog {
id: errorDialog
}
onInitializeFailed: (errorString) => errorDialog.run("XRView", errorString)
}Documentazione dei metodi
void run(string title, string message)
Visualizza una finestra di dialogo di errore con il titolo “ title ” e il messaggio “ message ”.
© 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.