diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 15:07:24 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 15:07:24 -0500 |
commit | 47e0ff88edd4660513f1d4f3d731008461532a13 (patch) | |
tree | 5b73ad0920101190e6e7cb558833e24f31ccdc4d /src/main_window.hpp | |
parent | 99c6c809b961f2eb3c8538bfa50de7f2f98587ea (diff) |
Get and save user keybinds.
Diffstat (limited to 'src/main_window.hpp')
-rw-r--r-- | src/main_window.hpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/main_window.hpp b/src/main_window.hpp index e5363a2..9f72f0a 100644 --- a/src/main_window.hpp +++ b/src/main_window.hpp @@ -1,7 +1,6 @@ #ifndef MAIN_WINDOW_HPP #define MAIN_WINDOW_HPP -#include "archive.hpp" #include "getsuyomi.hpp" #include "config.hpp" @@ -10,12 +9,6 @@ namespace getsuyomi { -constexpr const char* AppVendor = "libfud"; - -constexpr const char* AppName = "getsuyomi"; - -constexpr const char* AppVersionString = "1.0.0"; - class GetsuyomiApp : public QMainWindow { Q_OBJECT @@ -47,6 +40,8 @@ class GetsuyomiApp : public QMainWindow { QAction* m_settingsAction{nullptr}; + QAction* m_aboutApp{nullptr}; + QAction* m_nextAction{nullptr}; QAction* m_backAction{nullptr}; @@ -56,8 +51,8 @@ class GetsuyomiApp : public QMainWindow { QActionGroup* m_setPageLayoutGroup{nullptr}; QMenu* m_fileMenu{nullptr}; - QMenu* m_SettingsMenu{nullptr}; - QMenu* m_HelpMenu{nullptr}; + QMenu* m_settingsMenu{nullptr}; + QMenu* m_helpMenu{nullptr}; QToolBar* m_toolBar{nullptr}; QString m_lastOpenedDirectory{}; @@ -69,6 +64,8 @@ class GetsuyomiApp : public QMainWindow { void configure(); + void aboutApp(); + void readSettings(); void writeSettings(); void closeEvent(QCloseEvent* event) override; |