From 74361f5b05dc0a255f489256bd25065ef20f5dee Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 1 Apr 2018 13:19:07 +0200 Subject: Page menus refactoring - Split off menus into their own classes Page tools menu - Shows injected scripts - Shows dev tools page in another dialog --- src/webengine/widgets/pagemenu.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/webengine/widgets/pagemenu.h (limited to 'src/webengine/widgets/pagemenu.h') diff --git a/src/webengine/widgets/pagemenu.h b/src/webengine/widgets/pagemenu.h new file mode 100644 index 0000000..91f35e0 --- /dev/null +++ b/src/webengine/widgets/pagemenu.h @@ -0,0 +1,22 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/smolbote.hg + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SMOLBOTE_PAGEMENU_H +#define SMOLBOTE_PAGEMENU_H + +#include + +class WebView; +class PageMenu : public QMenu +{ + Q_OBJECT +public: + explicit PageMenu(WebView *parent = nullptr); +}; + +#endif //SMOLBOTE_PAGEMENU_H -- cgit v1.2.1