XrErrorDialog QML Type
Caixa de diálogo de erro personalizada para aplicativos PCVR. Mais...
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technology preview |
Este tipo está em pré-visualização tecnológica e está sujeito a alterações.
Métodos
- void run(string title, string message)
Descrição detalhada
Você pode usar esse tipo ao transmitir conteúdo de um computador desktop para um headset XR. Ele exibe uma caixa de diálogo na tela do desktop, geralmente para informar os usuários sobre erros na inicialização do headset. Internamente, ele instancia dinamicamente uma janela com uma caixa de diálogo de mensagem.
XrView {
id: xrView
XrErrorDialog {
id: errorDialog
}
onInitializeFailed: (errorString) => errorDialog.run("XRView", errorString)
}Documentação do método
void run(string title, string message)
Exibe uma caixa de diálogo de erro com o título “ title ” e o texto da mensagem “ 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.