En esta página

XrErrorDialog QML Type

Diálogo de error personalizado para aplicaciones PCVR. Más...

Import Statement: import QtQuick3D.Xr
Since: Qt 6.8
Inherits:

Item

Métodos

  • void run(string title, string message)

Descripción detallada

Puede utilizar este tipo cuando transmita contenidos desde un ordenador de sobremesa a unos auriculares XR. Muestra un cuadro de diálogo en la pantalla del escritorio, normalmente para informar a los usuarios de errores en la inicialización de los auriculares. Internamente, instancia de forma dinámica una ventana con un cuadro de diálogo de mensaje.

XrView {
    id: xrView

    XrErrorDialog {
        id: errorDialog
    }
    onInitializeFailed: (errorString) => errorDialog.run("XRView", errorString)
}

Documentación del método

void run(string title, string message)

Muestra un cuadro de diálogo de error con el título title y el contenido del mensaje 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.