このページでは

CapturableWindow QML Value Type

CapturableWindow 型は、WindowCapture を通じてキャプチャ可能なウィンドウの基本情報を取得するために使用されます。詳細...

Import Statement: import QtMultimedia
Since: Qt 6.6
In C++: QCapturableWindow

プロパティ

詳細な説明

このクラスには、ウィンドウ情報のダンプが含まれています。ただし、プロパティ「isValid 」は例外で、これは毎回実際のウィンドウの状態を取得します。

CapturableWindow インスタンスは、Window から暗黙的に生成できます。アプリケーション開発者は、QML Window をWindowCapture の「window」プロパティに渡すことで、これを利用できます。以下の例を参照してください。

Window {
    id: topWindow

    WindowCapture {
        window: topWindow
    }
}

「WindowCapture」も参照してください 。

プロパティのドキュメント

description : string [read-only]

このプロパティには、ウィンドウの説明が格納されます。ほとんどの場合、これはウィンドウのタイトルを表します。

isValid : string [read-only]

このプロパティは、ウィンドウ情報が有効かどうかを識別します。

無効なウィンドウ情報とは、存在しないウィンドウ、あるいは特定のウィンドウを指していないものを指します。

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