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/WebView.hpp | |
| parent | 1dd6332756b38bf4bbffeef9db6599320c03ca9a (diff) | |
| download | null-browser-3f5325f59ba7f8552d093fdafd9674b713f3cad9.tar.gz null-browser-3f5325f59ba7f8552d093fdafd9674b713f3cad9.zip | |
Add scrolling controls
Diffstat (limited to 'src/widgets/WebView.hpp')
| -rw-r--r-- | src/widgets/WebView.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
