summaryrefslogtreecommitdiff
path: root/src/main_window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_window.hpp')
-rw-r--r--src/main_window.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main_window.hpp b/src/main_window.hpp
index 55b200d..2dabf77 100644
--- a/src/main_window.hpp
+++ b/src/main_window.hpp
@@ -3,6 +3,7 @@
#include "archive.hpp"
#include "getsuyomi.hpp"
+#include "config.hpp"
#include <QtWidgets>
#include <fud_status.hpp>
@@ -35,11 +36,16 @@ class GetsuyomiApp : public QMainWindow {
void createToolBar();
/* Private data */
+ GetsuyomiConfig m_config{};
+
Getsuyomi* m_getsuyomi{nullptr};
QAction* m_openFile{nullptr};
QAction* m_openDirectory{nullptr};
QAction* m_quitAction{nullptr};
+
+ QAction* m_settingsAction{nullptr};
+
QAction* m_nextAction{nullptr};
QAction* m_backAction{nullptr};
@@ -48,7 +54,9 @@ class GetsuyomiApp : public QMainWindow {
QAction* m_setMangaLayout{nullptr};
QActionGroup* m_setPageLayoutGroup{nullptr};
- QMenu* m_menuBar{nullptr};
+ QMenu* m_fileMenu{nullptr};
+ QMenu* m_SettingsMenu{nullptr};
+ QMenu* m_HelpMenu{nullptr};
QToolBar* m_toolBar{nullptr};
QString m_lastOpenedDirectory{};
@@ -58,6 +66,8 @@ class GetsuyomiApp : public QMainWindow {
void openDirectory();
void quit();
+ void configure();
+
void readSettings();
void writeSettings();
void closeEvent(QCloseEvent* event) override;