aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/widgets/pagemenu.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-01 13:19:07 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-01 13:19:07 +0200
commit74361f5b05dc0a255f489256bd25065ef20f5dee (patch)
tree279f45e5f2bd093cd6fbf1500fe476f91108bd1f /src/webengine/widgets/pagemenu.h
parentAdd keyboard shortcuts for address bar menus (diff)
downloadsmolbote-74361f5b05dc0a255f489256bd25065ef20f5dee.tar.xz
Page menus refactoring
- Split off menus into their own classes Page tools menu - Shows injected scripts - Shows dev tools page in another dialog
Diffstat (limited to 'src/webengine/widgets/pagemenu.h')
-rw-r--r--src/webengine/widgets/pagemenu.h22
1 files changed, 22 insertions, 0 deletions
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 <QMenu>
+
+class WebView;
+class PageMenu : public QMenu
+{
+ Q_OBJECT
+public:
+ explicit PageMenu(WebView *parent = nullptr);
+};
+
+#endif //SMOLBOTE_PAGEMENU_H