diff include/gui/window.h @ 9:5c0397762b53

INCOMPLETE: megacommit :)
author Paper <mrpapersonic@gmail.com>
date Sun, 10 Sep 2023 03:59:16 -0400
parents src/include/window.h@07a9095eaeed
children d0adc4aedfc8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/gui/window.h	Sun Sep 10 03:59:16 2023 -0400
@@ -0,0 +1,22 @@
+#ifndef __window_h
+#define __window_h
+#include "core/config.h"
+#include <QCloseEvent>
+#include <QMainWindow>
+#include <QWidget>
+
+class MainWindow : public QMainWindow {
+		Q_OBJECT
+
+	public:
+		MainWindow(QWidget* parent = nullptr);
+		void SetActivePage(QWidget* page);
+		void SetStyleSheet(enum Themes theme);
+		void ThemeChanged();
+		void closeEvent(QCloseEvent* event) override;
+
+	private:
+		QWidget* main_widget;
+};
+
+#endif // __window_h