このページでは

fullScreenRequest QML Value Type

WebEngineView::fullScreenRequested() シグナルのユーティリティ型。詳細...

Import Statement: import QtWebEngine
Since: QtWebEngine 1.1
In C++: QWebEngineFullScreenRequest

プロパティ

方法

詳細説明

WebEngineView::fullScreenRequested()も参照

プロパティの説明

origin : url [read-only]

フルスクリーン・リクエストを発行したウェブページのURL。

toggleOn : bool [read-only]

アプリケーションがフルスクリーンモードをオンに切り替える必要がある場合は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()

フルスクリーンの要求を拒否する。

© 2026 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.