From 3f5325f59ba7f8552d093fdafd9674b713f3cad9 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Apr 2025 22:57:32 +0530 Subject: Add scrolling controls --- src/widgets/WebView.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/widgets/WebView.hpp') diff --git a/src/widgets/WebView.hpp b/src/widgets/WebView.hpp index c861b6e..0900ea6 100644 --- a/src/widgets/WebView.hpp +++ b/src/widgets/WebView.hpp @@ -37,6 +37,9 @@ class WebView : public QWebEngineView { public: WebView(uint32_t webview_id, QWebEngineProfile *profile, QWidget *parent_node = nullptr); void open_devtools(); + void scroll_increment(int deltax, int deltay); + void scroll_to_top(); + void scroll_to_bottom(); DEFINE_GETTER(get_id, id) -- cgit v1.3.1