8#include "messageviewer_export.h"
9#include <WebEngineViewer/BlockTrackingUrlInterceptor>
10#include <WebEngineViewer/WebEngineView>
13namespace WebEngineViewer
15class WebHitTestResult;
17namespace MessageViewer
20class MailWebEngineViewPrivate;
32 void scrollUp(
int pixels);
33 void scrollDown(
int pixels);
38 void saveMainFrameScreenshotInFile(
const QString &filename);
39 void showAccessKeys();
40 void hideAccessKeys();
41 void isScrolledToBottom();
43 void setElementByIdVisible(
const QString &
id,
bool visible);
44 void removeAttachmentMarking(
const QString &
id);
46 void scrollToAnchor(
const QString &anchor);
47 void scrollPageDown(
int percent);
48 void scrollPageUp(
int percent);
50 void scrollToRelativePosition(qreal pos);
52 void setAllowExternalContent(
bool b);
56 void setPrintElementBackground(
bool printElementBackground);
58 void setLinkHovered(
const QUrl &url);
59 void setViewer(MessageViewer::ViewerPrivate *viewer);
62 static void initializeCustomScheme();
65 void slotZoomChanged(qreal zoom);
66 void slotShowDetails();
69 void forwardWheelEvent(
QWheelEvent *event)
override;
70 void forwardKeyPressEvent(
QKeyEvent *event)
override;
71 void forwardKeyReleaseEvent(
QKeyEvent *event)
override;
72 void forwardMousePressEvent(
QMouseEvent *event)
override;
73 void forwardMouseMoveEvent(
QMouseEvent *event)
override;
74 void forwardMouseReleaseEvent(
QMouseEvent *event)
override;
80 void wheelZoomChanged(
int numSteps);
81 void openUrl(
const QUrl &url);
82 void urlBlocked(
const QUrl &url);
83 void messageMayBeAScam();
84 void formSubmittedForbidden();
87 void pageIsScrolledToBottom(
bool);
90 MESSAGEVIEWER_NO_EXPORT
void handleScrollToAnchor(
const QVariant &result);
91 MESSAGEVIEWER_NO_EXPORT
void handleIsScrolledToBottom(
const QVariant &result);
94 MESSAGEVIEWER_NO_EXPORT
void slotLoadFinished();
97 MESSAGEVIEWER_NO_EXPORT
void runJavaScriptInWordId(
const QString &script);
98 std::unique_ptr<MailWebEngineViewPrivate>
const d;
The MailWebEngineView class.
void popupMenu(const WebEngineViewer::WebHitTestResult &result)
Emitted when the user right-clicks somewhere.
The WebHitTestResult class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.