Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
XrErrorDialog.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\qmltype XrErrorDialog
6
\inherits Item
7
\inqmlmodule QtQuick3D.Xr
8
\brief Custom error dialog for PCVR applications.
9
10
You can use this type when streaming content from a desktop
11
computer to an XR headset. It displays a dialog box on the
12
desktop screen, typically to inform users about errors in initializing
13
the headset. Internally, it dynamically instantiates a Window with a message
14
dialog.
15
16
17
\qml
18
XrView {
19
id: xrView
20
21
XrErrorDialog {
22
id: errorDialog
23
}
24
onInitializeFailed: (errorString) => errorDialog.run("XRView", errorString)
25
}
26
\endqml
27
*/
28
29
/*!
30
\qmlmethod XrErrorDialog::run(string title, string message)
31
32
Displays an error dialog with the title \a title and message contents \a message.
33
*/
qtquick3d
src
quick3d
doc
src
xr
XrErrorDialog.qdoc
Generated on
for Qt by
1.14.0