From f47e32c5d0451308d5f0ff99e31397bd8ce53f73 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 2 Jul 2017 14:36:54 +0200 Subject: Added homepage button --- src/widgets/webviewtabbar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/widgets/webviewtabbar.h') diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h index 31a3ab2..4682a94 100644 --- a/src/widgets/webviewtabbar.h +++ b/src/widgets/webviewtabbar.h @@ -31,6 +31,13 @@ class WebViewTabBar : public QTabBar Q_OBJECT public: + enum WebActions { + Back = QWebEnginePage::Back, + Forward = QWebEnginePage::Forward, + Reload = QWebEnginePage::Reload, + Homepage + }; + explicit WebViewTabBar(WebEngineProfile *profile = nullptr, QWidget *parent = 0); ~WebViewTabBar(); -- cgit v1.2.1