diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-20 22:57:32 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-05-02 16:17:49 +0530 |
| commit | 3f5325f59ba7f8552d093fdafd9674b713f3cad9 (patch) | |
| tree | 481c26e17714fd673c024aba3c3514586f0fe3bb /src/widgets/WebViewStack.hpp | |
| parent | 1dd6332756b38bf4bbffeef9db6599320c03ca9a (diff) | |
| download | null-browser-3f5325f59ba7f8552d093fdafd9674b713f3cad9.tar.gz null-browser-3f5325f59ba7f8552d093fdafd9674b713f3cad9.zip | |
Add scrolling controls
Diffstat (limited to '')
| -rw-r--r-- | src/widgets/WebViewStack.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp index fb78255..6e17753 100644 --- a/src/widgets/WebViewStack.hpp +++ b/src/widgets/WebViewStack.hpp @@ -67,6 +67,9 @@ public slots: void focus_webview(WebViewId webview_id); void set_search_text(const QString &text, WebViewId webview_id, bool forward = true); void open_devtools(WebViewId webview_id); + void scroll(WebViewId webview_id, int deltax, int deltay); + void scroll_to_top(WebViewId webview_id); + void scroll_to_bottom(WebViewId webview_id); protected slots: void on_new_webview_request(const QWebEngineNewWindowRequest &request); |
