A utility type for the QWebEnginePage::navigationRequested signal. More...
Header: | #include <QWebEngineNavigationRequest> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
Since: | Qt 6.2 |
Instantiated By: | WebEngineNavigationRequest |
Inherits: | QObject |
void | accept() |
bool | isMainFrame() const |
QWebEngineNavigationRequest::NavigationType | navigationType() const |
void | reject() |
QUrl | url() const |
void | actionChanged() |
Contains information about a navigation request.
To accept or reject a request, call accept() or reject().
The default if not handled is to accept the navigation.
See also QWebEnginePage::navigationRequested.
[read-only]
isMainFrame : const boolThis property holds whether the navigation issue is requested for a top level page.
Access functions:
bool | isMainFrame() const |
[read-only]
navigationType : const NavigationTypeThis property holds the method used to navigate to a web page.
Access functions:
QWebEngineNavigationRequest::NavigationType | navigationType() const |
[read-only]
url : const QUrlThis property holds the URL of the web page to go to.
Access functions:
QUrl | url() const |
[invokable]
void QWebEngineNavigationRequest::accept()Accepts a navigation request.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable]
void QWebEngineNavigationRequest::reject()Rejects a navigation request.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: