diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-08 11:10:48 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-08 11:10:48 +0200 |
commit | fc4c7943c79243ed027f7507c458d067a14bebb2 (patch) | |
tree | 38b066c73890145677a1f87f671ef30ed0eefe1c /src/mainwindow/mainwindow.h | |
parent | Integrate urlfilter with urlrequestinterceptor (diff) | |
download | smolbote-fc4c7943c79243ed027f7507c458d067a14bebb2.tar.xz |
Remove PageMenu
Move zoom widget to WebView context menu
Move the other page menu actions to main window menu
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r-- | src/mainwindow/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow/mainwindow.h b/src/mainwindow/mainwindow.h index d695dd8..3768348 100644 --- a/src/mainwindow/mainwindow.h +++ b/src/mainwindow/mainwindow.h @@ -49,12 +49,16 @@ public: const QVector<SubWindow *> subWindows() const; SubWindow *currentSubWindow() const; +signals: + void createBookmark(const QString &title, const QString &url); + public slots: void createTab(const QUrl &url); SubWindow *createSubWindow(const std::unique_ptr<Configuration> &config, WebProfile *profile); private slots: void setView(WebView *view); + void updatePageLoadProfileMenu(); protected: void closeEvent(QCloseEvent *event) override; @@ -63,6 +67,7 @@ private: Ui::MainWindow *ui; QAction *subWindowAction = nullptr; QMenu *toolsMenu = nullptr; + QMenu *pageLoadProfileMenu = nullptr; NavigationBar *navigationToolBar = nullptr; AddressBar *addressBar = nullptr; |