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