From 107d96690b37a6e4803f02117f22244d53c56706 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 16 Sep 2024 11:19:28 -0500 Subject: Initial commit --- src/main_window.hpp | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/main_window.hpp (limited to 'src/main_window.hpp') diff --git a/src/main_window.hpp b/src/main_window.hpp new file mode 100644 index 0000000..0bd074a --- /dev/null +++ b/src/main_window.hpp @@ -0,0 +1,42 @@ +#include + +namespace getsuyobi { + +constexpr const char* AppName = "GetsuYobi"; +constexpr const char* AppVersionString = "1.0.0"; + +class Getsuyobi; + +class GetsuyobiApp : public QMainWindow { + Q_OBJECT + + public: + GetsuyobiApp(); + + private: + void setup(); + void createActions(); + void createMenus(); + + Getsuyobi* m_getsuyobi; + + QAction* m_openAction; + QAction* m_quitAction; + + QMenu* m_fileMenu; + + private slots: + void openFile(); + void quit(); +}; + +class Getsuyobi : public QWidget { + Q_OBJECT + public: + Getsuyobi(); + + private: + QLayout* m_layout{nullptr}; +}; + +} // namespace getsuyobi -- cgit v1.2.3