WebEngineViewer::WebEngineView Class

The WebEngineView class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <WebEngineViewer/WebEngineView>
CMake: find_package(KPim6WebEngineViewer REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::WebEngineViewer)

Public Functions

WebEngineView(QWidget *parent = nullptr)
virtual ~WebEngineView() override
void clearRelativePosition()
WebEngineViewer::LocalDataBaseManager *phishingDatabase() const
qreal relativePosition() const
void saveRelativePosition()

Signals

void mailTrackingFound(const WebEngineViewer::BlockTrackingUrlInterceptor::TrackerBlackList &)

Protected Functions

virtual void forwardKeyPressEvent(QKeyEvent *event)
virtual void forwardKeyReleaseEvent(QKeyEvent *event)
virtual void forwardMouseMoveEvent(QMouseEvent *event)
virtual void forwardMousePressEvent(QMouseEvent *event)
virtual void forwardMouseReleaseEvent(QMouseEvent *event)
virtual void forwardWheelEvent(QWheelEvent *event)

Reimplemented Protected Functions

virtual QWebEngineView *createWindow(QWebEnginePage::WebWindowType type) override
virtual bool eventFilter(QObject *obj, QEvent *event) override

Detailed Description

Member Function Documentation

[explicit] WebEngineView::WebEngineView(QWidget *parent = nullptr)

Constructs a WebEngineView object with the given parent.

[override virtual noexcept] WebEngineView::~WebEngineView()

Destroys the WebEngineView object.

void WebEngineView::clearRelativePosition()

Clears the relative position.

[override virtual protected] QWebEngineView *WebEngineView::createWindow(QWebEnginePage::WebWindowType type)

Creates a new window of the specified type.

[override virtual protected] bool WebEngineView::eventFilter(QObject *obj, QEvent *event)

Filters events for the object.

[virtual protected] void WebEngineView::forwardKeyPressEvent(QKeyEvent *event)

Forwards the key press event.

[virtual protected] void WebEngineView::forwardKeyReleaseEvent(QKeyEvent *event)

Forwards the key release event.

[virtual protected] void WebEngineView::forwardMouseMoveEvent(QMouseEvent *event)

Forwards the mouse move event.

[virtual protected] void WebEngineView::forwardMousePressEvent(QMouseEvent *event)

Forwards the mouse press event.

[virtual protected] void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)

Forwards the mouse release event.

[virtual protected] void WebEngineView::forwardWheelEvent(QWheelEvent *event)

Forwards the wheel event.

[signal] void WebEngineView::mailTrackingFound(const WebEngineViewer::BlockTrackingUrlInterceptor::TrackerBlackList &)

Emitted when mail tracking is found.

WebEngineViewer::LocalDataBaseManager *WebEngineView::phishingDatabase() const

Returns the phishing database manager.

qreal WebEngineView::relativePosition() const

Returns the relative position.

void WebEngineView::saveRelativePosition()

Saves the current relative position.