From a9d767b209c503ac7b5dff5132aa213d47dcb608 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 19 Apr 2025 18:43:32 +0530 Subject: Add web.view.open_devtools for opening devtools --- src/widgets/WebViewStack.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/WebViewStack.hpp') diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp index e41af43..fb78255 100644 --- a/src/widgets/WebViewStack.hpp +++ b/src/widgets/WebViewStack.hpp @@ -66,6 +66,7 @@ public slots: void close(WebViewId webview_id); 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); protected slots: void on_new_webview_request(const QWebEngineNewWindowRequest &request); -- cgit v1.3.1