FullScreenRequest QML Type
WebEngineView::fullScreenRequested() シグナルのユーティリティ型。詳細...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.1 |
In C++: | QWebEngineFullScreenRequest |
プロパティ
方法
詳細説明
WebEngineView::fullScreenRequested()も参照 。
プロパティ Documentation
origin : url |
フルスクリーン・リクエストを発行したウェブページの URL。
toggleOn : bool |
アプリケーションがフルスクリーンモードをオンに切り替える必要がある場合はtrue
を返し、そうでない場合はfalse
を返します。
accept()も参照 。
メソッド・ドキュメント
void accept() |
フルスクリーン・リクエストを受け付けるには、このメソッドを呼び出します。WebEngineView::isFullScreen プロパティがtoggleOn と等しくなるように設定します。
ApplicationWindow { id: window WebEngineView { onFullScreenRequested: function(request) { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
toggleOn も参照して ください。
void reject() |
フルスクリーン要求を拒否します。
© 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.