FullScreenRequest QML Type
Ein Hilfstyp für das Signal WebEngineView::fullScreenRequested(). Mehr...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.1 |
In C++: | QWebEngineFullScreenRequest |
Eigenschaften
Methoden
Ausführliche Beschreibung
Siehe auch WebEngineView::fullScreenRequested().
Eigenschaft Dokumentation
origin : url |
Die URL der Webseite, die die Vollbildanforderung gestellt hat.
toggleOn : bool |
Gibt true
zurück, wenn die Anwendung den Vollbildmodus einschalten soll, andernfalls false
.
Siehe auch accept().
Methode Dokumentation
void accept() |
Rufen Sie diese Methode auf, um die Vollbildanforderung zu akzeptieren. Sie setzt die Eigenschaft WebEngineView::isFullScreen auf den Wert toggleOn.
ApplicationWindow { id: window WebEngineView { onFullScreenRequested: function(request) { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
Siehe auch toggleOn.
void reject() |
Lehnt eine Vollbildanforderung ab.
© 2025 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.