PySide6.QtWebEngineCore.QWebEngineNavigationRequest¶
- class QWebEngineNavigationRequest¶
A utility type for the
navigationRequested
signal. More…Synopsis¶
Properties¶
hasFormDataᅟ
- Whether the navigation request contains form dataisMainFrameᅟ
- Whether the navigation issue is requested for a top level pagenavigationTypeᅟ
- Method used to navigate to a web pageurlᅟ
- URL of the web page to go to
Methods¶
def
accept()
def
hasFormData()
def
isMainFrame()
def
navigationType()
def
reject()
def
url()
Signals¶
def
actionChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
Contains information about a navigation request.
To accept or reject a request, call
accept()
orreject()
.The default if not handled is to accept the navigation.
See also
- class NavigationType¶
- class NavigationRequestAction¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property actionᅟ: QWebEngineNavigationRequest.NavigationRequestAction¶
- Access functions:
Signal
actionChanged()
- property hasFormDataᅟ: bool¶
This property holds Whether the navigation request contains form data.
- Access functions:
- property isMainFrameᅟ: bool¶
This property holds Whether the navigation issue is requested for a top level page..
- Access functions:
- property navigationTypeᅟ: QWebEngineNavigationRequest.NavigationType¶
This property holds The method used to navigate to a web page..
- Access functions:
This property holds The URL of the web page to go to..
- Access functions:
- accept()¶
Accepts a navigation request.
- actionChanged()¶
Note
This function is deprecated.
Notification signal of property
actionᅟ
.- hasFormData()¶
- Return type:
bool
Getter of property
hasFormDataᅟ
.- isMainFrame()¶
- Return type:
bool
Getter of property
isMainFrameᅟ
.- navigationType()¶
- Return type:
Getter of property
navigationTypeᅟ
.- reject()¶
Rejects a navigation request.
Getter of property
urlᅟ
.