CapturableWindow QML Value Type
El tipo CapturableWindow se utiliza para obtener información básica de una ventana que está disponible para la captura a través de WindowCapture. Más...
| Import Statement: | import QtMultimedia |
| Since: | Qt 6.6 |
| In C++: | QCapturableWindow |
Propiedades
- description : string
- isValid : string
Descripción detallada
La clase contiene un volcado de la información de la ventana, excepto la propiedad 'isValid' que extrae el estado real de la ventana cada vez.
Una instancia de CapturableWindow puede construirse implícitamente a partir de un Window. Los desarrolladores de aplicaciones pueden utilizarlo pasando una ventana QML a la propiedad 'window' de un WindowCapture. Véase el siguiente ejemplo.
Window { id: topWindow WindowCapture { window: topWindow } }
Véase también WindowCapture.
Documentación de propiedades
description : string [read-only]
Esta propiedad contiene la descripción de la ventana. En la mayoría de los casos representa el título de la ventana.
isValid : string [read-only]
Esta propiedad identifica si la información de una ventana es válida.
Una información de ventana no válida se refiere a una ventana inexistente o no se refiere a ninguna.
© 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.