XrErrorDialog QML Type

PCVRアプリケーション用のカスタム・エラー・ダイアログです。もっと見る...

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

Item

Status: Technical Preview

メソッド

  • run(string title, string message)

詳細説明

この型は、デスクトップコンピュータから XR ヘッドセットにコンテンツをストリーミングするときに使用できます。これはデスクトップ画面にダイアログボックスを表示し、通常、ヘッドセットの初期化のエラーについてユーザーに通知します。内部的には、メッセージダイアログを持つ Window を動的にインスタンス化します。

XrView {
    id: xrView

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

メソッドの説明

run(string title, string message)

タイトルtitle とメッセージ内容message のエラーダイアログを表示します。


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