fullScreenRequest QML Value Type
Un tipo de utilidad para la señal WebEngineView::fullScreenRequested(). Más...
| Import Statement: | import QtWebEngine |
| Since: | QtWebEngine 1.1 |
| In C++: | QWebEngineFullScreenRequest |
Propiedades
Métodos
Descripción detallada
Véase también WebEngineView::fullScreenRequested().
Documentación de propiedades
origin : url [read-only]
La URL de la página web que emitió la solicitud de pantalla completa.
toggleOn : bool [read-only]
Devuelve true si la aplicación debe activar el modo de pantalla completa, false en caso contrario.
Véase también accept().
Documentación del método
void accept()
Llama a este método para aceptar la petición de pantalla completa. Establece la propiedad WebEngineView::isFullScreen igual a toggleOn.
ApplicationWindow { id: window WebEngineView { onFullScreenRequested: function(request) { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
Véase también toggleOn.
void reject()
Rechaza una solicitud de pantalla completa.
© 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.