XrErrorDialog QML Type
Benutzerdefiniertes Fehlerdialogfeld für PCVR-Anwendungen. Mehr...
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technology preview |
Dieser Typ befindet sich in der Technology Preview und kann sich noch ändern.
Methoden
- void run(string title, string message)
Ausführliche Beschreibung
Sie können diesen Typ verwenden, wenn Sie Inhalte von einem Desktop-Computer auf ein XR-Headset streamen. Dabei wird auf dem Desktop-Bildschirm ein Dialogfeld angezeigt, in der Regel, um Benutzer über Fehler bei der Initialisierung des Headsets zu informieren. Intern wird dynamisch ein Fenster mit einem Meldungsdialog instanziiert.
XrView {
id: xrView
XrErrorDialog {
id: errorDialog
}
onInitializeFailed: (errorString) => errorDialog.run("XRView", errorString)
}Methodendokumentation
void run(string title, string message)
Zeigt einen Fehlerdialog mit dem Titel „ title “ und folgendem Meldungstext an: „ 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.