WebEngineNavigationRequest QML Type

WebEngineView::navigationRequested() の一部として、ウェブページへのナビゲート要求を表す。詳細...

Import Statement: import QtWebEngine
Since: QtWebEngine 1.0
In C++: QWebEngineNavigationRequest

プロパティ

詳細説明

リクエストを受諾または拒否するには、accept() または reject() を呼び出します。

プロパティの説明

action : enumeration

ナビゲーション要求を受け入れるか無視するか。

定数説明
WebEngineNavigationRequest.AcceptRequestナビゲーション要求を受け入れる。
WebEngineNavigationRequest.IgnoreRequestナビゲーション要求を無視します。

hasFormData : bool [read-only, since 6.8]

ナビゲーション・リクエストがフォーム・データを含むかどうか

このプロパティは Qt 6.8 で導入されました。


isMainFrame : bool [read-only]

ナビゲーション・イシューがトップ・レベルのページに対して要求されているかどうか。


Web ページへのナビゲーションに使用されるメソッド。

定数説明
WebEngineNavigationRequest.LinkClickedNavigationリンクをクリックする。
WebEngineNavigationRequest.TypedNavigationアドレスバーにURLを入力する
WebEngineNavigationRequest.FormSubmittedNavigationフォームを送信する
WebEngineNavigationRequest.BackForwardNavigationナビゲーション履歴を使用して、前のページまたは次のページに移動する。
WebEngineNavigationRequest.ReloadNavigationページのリロード
WebEngineNavigationRequest.RedirectNavigationページコンテンツまたはサーバーがリダイレクトまたはページ更新のトリガーとなった。
WebEngineNavigationRequest.OtherNavigation他の方法でページに移動する。

url : url [read-only]

移動先のウェブページのURL。


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