diff include/gui/window.h @ 79:c489dd4434af

*: what did I do again? I really forgot what I did here :)
author Paper <mrpapersonic@gmail.com>
date Thu, 12 Oct 2023 11:31:39 -0400
parents d0adc4aedfc8
children 8043152ef9d4
line wrap: on
line diff
--- a/include/gui/window.h	Wed Oct 11 12:16:15 2023 -0400
+++ b/include/gui/window.h	Thu Oct 12 11:31:39 2023 -0400
@@ -1,9 +1,12 @@
 #ifndef __window_h
 #define __window_h
 #include "core/config.h"
-#include <QCloseEvent>
 #include <QMainWindow>
-#include <QWidget>
+
+class QWidget;
+class QStackedWidget;
+class QCloseEvent;
+class SideBar;
 
 class MainWindow : public QMainWindow {
 		Q_OBJECT
@@ -11,10 +14,13 @@
 	public:
 		MainWindow(QWidget* parent = nullptr);
 		void SetActivePage(QWidget* page);
+		void CreateBars();
 		void closeEvent(QCloseEvent* event) override;
 
 	private:
 		QWidget* main_widget;
+		QStackedWidget* stack;
+		SideBar* sidebar;
 };
 
 #endif // __window_h