The CapturableWindow type is used getting basic of a window that is available for capturing via WindowCapture . 更多...
| import 语句: |
import QtMultimedia
|
| Since: | Qt 6.6 |
| 在 C++: | QCapturableWindow |
The class contains a dump of window information, except the property ' isValid ' which pulls the actual window state every time.
A CapturableWindow instance can be implicitly constructed from a Window . Application developers can utilize this by passing a QML Window into the 'window' property of a WindowCapture . See the following example.
Window { id: topWindow WindowCapture { window: topWindow } }
另请参阅 WindowCapture .
|
description
:
string
|
This property holds the description of the window. In most cases it represents the window title.
|
isValid
:
string
|
This property identifies whether a window information is valid.
An invalid window information refers to non-existing window or doesn't refer to any one.