WebEngineFullScreenRequest QML Type
A utility type for the WebEngineView::fullScreenRequested() signal. More...
Import Statement: | import QtWebEngine 1.2 |
Since: | QtWebEngine 1.1 |
Properties
- toggleOn : bool
Methods
- void accept()
Detailed Description
See also WebEngineView::fullScreenRequested().
Property Documentation
Returns true
if the application should toggle fullscreen mode on, false
otherwise.
This QML property was introduced in QtWebEngine 1.1.
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: { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
This QML method was introduced in QtWebEngine 1.1.
See also toggleOn.
© 2017 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.