FullScreenRequest QML Type
A utility type for the WebEngineView::fullScreenRequested() signal. More...
Import Statement: | import QtWebEngine 1.10 |
Since: | QtWebEngine 1.1 |
Properties
Methods
Detailed Description
See also WebEngineView::fullScreenRequested().
Property Documentation
Returns true
if the application should toggle fullscreen mode on, false
otherwise.
See also accept().
Method Documentation
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.