XrErrorDialog QML Type

Custom error dialog for PCVR applications. More...

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

Item

Status: Technical Preview

Methods

  • run(string title, string message)

Detailed Description

This type is provided for use when streaming content from a desktop computer to an XR headset. It displays a dialog box on the desktop screen, typically to inform users about errors in initializing the headset. Internally, it dynamically instantiates a Window with a message dialog.

XrView {
    id: xrView

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

Method Documentation

run(string title, string message)

Displays an error dialog with the title title and message contents message.


© 2024 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.