このページでは

XrErrorDialog QML Type

PCVR アプリケーション用のカスタムエラーダイアログ。詳細...

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

Item

Status: Technology preview

このタイプはテクノロジープレビュー段階にあり、変更される可能性があります。

メソッド

  • void run(string title, string message)

詳細説明

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

XrView {
    id: xrView

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

メソッドのドキュメント

void run(string title, string message)

タイトルが「title 」、メッセージ内容が「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.