#ifndef MAIN_WINDOW_HPP #define MAIN_WINDOW_HPP #include "archive.hpp" #include "bookmouse.hpp" #include namespace bookmouse { constexpr const char* AppName = "Bookmouse"; constexpr const char* AppVersionString = "1.0.0"; class BookmouseApp : public QMainWindow { Q_OBJECT public: BookmouseApp(); private: void setup(); void createActions(); void createMenus(); void createToolBar(); Bookmouse* m_bookmouse; QAction* m_openFile; QAction* m_openDirectory; QAction* m_quitAction; QAction* m_nextAction; QAction* m_backAction; QMenu* m_menuBar; QToolBar* m_toolBar; private slots: void openFile(); void openDirectory(); void quit(); void next(); void back(); }; } // namespace bookmouse #endif