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.hpp42
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