35 void setPage(QWebEnginePage *page);
37 [[nodiscard]]
int progress()
const;
38 [[nodiscard]] QIcon favIcon()
const;
41 void contextMenuEvent(QContextMenuEvent *event)
override;
42 QWebEngineView *createWindow(QWebEnginePage::WebWindowType type)
override;
43 void CreateWebActionTrigger(QWebEnginePage *page, QWebEnginePage::WebAction);
46 void favIconChanged(
const QIcon &icon);
47 void sigDevToolsRequested(QWebEnginePage *source);
48 void sigCloseRequested();
49 void sigLinkHovered(
const QString &url);
50 void sigWebActionEnabledChanged(QWebEnginePage::WebAction webAction,
bool enabled);
53 void SetupAutoFillScript();
54 void GlobalFillForm(
const QString &username,
const QString &szPassword);
55 void FillForm(
const QString &szUse,
const QString &szPassword);
56 QString AutoFillForm();
57 int GetUserAndPassword(QUrl url, QString &szUser, QString &szPassword);
58 void InjectScriptQWebChannel();
59 void InjectScriptAutoFill();
62 void slotSelectClientCertificate(QWebEngineClientCertificateSelection clientCertSelection);
63 void slotAuthenticationRequired(
const QUrl &requestUrl, QAuthenticator *auth);
64 void slotProxyAuthenticationRequired(
const QUrl &requestUrl, QAuthenticator *auth,
65 const QString &proxyHost);
68#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
69 void slotCertificateError(QWebEngineCertificateError error);
70 void slotPermissionRequested(QWebEnginePermission permission);
71 void handleImageAnimationPolicyChange(QWebEngineSettings::ImageAnimationPolicy policy);
73#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
76#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
77 void slotDesktopMediaRequest(
const QWebEngineDesktopMediaRequest &request);
78 void slotWebAuthUxRequested(QWebEngineWebAuthUxRequest *request);
79 void onStateChanged(QWebEngineWebAuthUxRequest::WebAuthUxState state);
84 int m_loadProgress = 100;
86 QActionGroup *m_imageAnimationGroup =
nullptr;
87#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
90 QWebChannel* m_pWebChannel;