diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-16 11:19:28 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-16 11:19:28 -0500 |
commit | 107d96690b37a6e4803f02117f22244d53c56706 (patch) | |
tree | 2358888bec7870d90da37bde6870c50a477eeafb /src/main_window.hpp |
Initial commit
Diffstat (limited to 'src/main_window.hpp')
-rw-r--r-- | src/main_window.hpp | 42 |
1 files changed, 42 insertions, 0 deletions
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 <QtWidgets> + +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 |