31 void setPage(QWebEnginePage *page);
33 [[nodiscard]]
int progress()
const;
34 [[nodiscard]] QIcon favIcon()
const;
37 void contextMenuEvent(QContextMenuEvent *event)
override;
38 QWebEngineView *createWindow(QWebEnginePage::WebWindowType type)
override;
39 void CreateWebActionTrigger(QWebEnginePage *page, QWebEnginePage::WebAction);
42 void favIconChanged(
const QIcon &icon);
43 void sigDevToolsRequested(QWebEnginePage *source);
44 void sigCloseRequested();
45 void sigLinkHovered(
const QString &url);
46 void sigWebActionEnabledChanged(QWebEnginePage::WebAction webAction,
bool enabled);
49 void slotSelectClientCertificate(QWebEngineClientCertificateSelection clientCertSelection);
50 void slotAuthenticationRequired(
const QUrl &requestUrl, QAuthenticator *auth);
51 void slotProxyAuthenticationRequired(
const QUrl &requestUrl, QAuthenticator *auth,
52 const QString &proxyHost);
55#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
56 void slotCertificateError(QWebEngineCertificateError error);
57 void slotPermissionRequested(QWebEnginePermission permission);
58 void handleImageAnimationPolicyChange(QWebEngineSettings::ImageAnimationPolicy policy);
60#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
63#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
64 void slotDesktopMediaRequest(
const QWebEngineDesktopMediaRequest &request);
65 void slotWebAuthUxRequested(QWebEngineWebAuthUxRequest *request);
66 void onStateChanged(QWebEngineWebAuthUxRequest::WebAuthUxState state);
71 int m_loadProgress = 100;
73 QActionGroup *m_imageAnimationGroup =
nullptr;