WebEngineViewer::WebHitTest Class
The WebHitTest class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <WebEngineViewer/WebHitTest> |
| CMake: | find_package(KPim6WebEngineViewer REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::WebEngineViewer) |
| Inherits: | QObject |
Public Functions
| WebHitTest(QWebEnginePage *page, const QPoint &zoomedPos, const QPoint &pos, QObject *parent = nullptr) | |
| virtual | ~WebHitTest() override |
Signals
| void | finished(const WebEngineViewer::WebHitTestResult &result) |
Private Slots
| void | handleHitTest(const QVariant &result) |
Detailed Description
Member Function Documentation
[explicit] WebHitTest::WebHitTest(QWebEnginePage *page, const QPoint &zoomedPos, const QPoint &pos, QObject *parent = nullptr)
Constructs a WebHitTest object for the given page at the specified positions.
[override virtual noexcept] WebHitTest::~WebHitTest()
Destroys the WebHitTest object.
[signal] void WebHitTest::finished(const WebEngineViewer::WebHitTestResult &result)
Emitted when the hit test finishes.