WebEngineNavigationRequest QML Type
WebEngineView::navigationRequested() の一部として、ウェブページへのナビゲート要求を表す。詳細...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.0 |
In C++: | QWebEngineNavigationRequest |
プロパティ
- action : enumeration
- hasFormData : bool
(since 6.8)
- isMainFrame : bool
- navigationType : enumeration
- url : url
詳細説明
リクエストを受諾または拒否するには、accept() または reject() を呼び出します。
プロパティの説明
action : enumeration |
ナビゲーション要求を受け入れるか無視するか。
定数 | 説明 |
---|---|
WebEngineNavigationRequest.AcceptRequest | ナビゲーション要求を受け入れる。 |
WebEngineNavigationRequest.IgnoreRequest | ナビゲーション要求を無視します。 |
hasFormData : bool |
ナビゲーション・リクエストがフォーム・データを含むかどうか
このプロパティは Qt 6.8 で導入されました。
isMainFrame : bool |
ナビゲーション・イシューがトップ・レベルのページに対して要求されているかどうか。
navigationType : enumeration |
Web ページへのナビゲーションに使用されるメソッド。
定数 | 説明 |
---|---|
WebEngineNavigationRequest.LinkClickedNavigation | リンクをクリックする。 |
WebEngineNavigationRequest.TypedNavigation | アドレスバーにURLを入力する |
WebEngineNavigationRequest.FormSubmittedNavigation | フォームを送信する |
WebEngineNavigationRequest.BackForwardNavigation | ナビゲーション履歴を使用して、前のページまたは次のページに移動する。 |
WebEngineNavigationRequest.ReloadNavigation | ページのリロード |
WebEngineNavigationRequest.RedirectNavigation | ページコンテンツまたはサーバーがリダイレクトまたはページ更新のトリガーとなった。 |
WebEngineNavigationRequest.OtherNavigation | 他の方法でページに移動する。 |
url : url |
移動先のウェブページの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.