A utility type for the WebEngineView::fullScreenRequested() signal. More...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.1 |
Instantiates: | QWebEngineFullScreenRequest |
See also WebEngineView::fullScreenRequested().
[read-only] origin : url |
The URL of the web page that issued the fullscreen request.
[read-only] toggleOn : bool |
Returns true
if the application should toggle fullscreen mode on, false
otherwise.
See also accept().
void accept() |
Call this method to accept the fullscreen request. It sets the WebEngineView::isFullScreen property to be equal to toggleOn.
ApplicationWindow { id: window WebEngineView { onFullScreenRequested: function(request) { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
See also toggleOn.
void reject() |
Rejects a fullscreen request.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: