view src/include/window.h @ 7:07a9095eaeed

Update Refactored some code, moved some around
author Paper <mrpapersonic@gmail.com>
date Thu, 24 Aug 2023 23:11:38 -0400
parents 1d82f6e04d7d
children
line wrap: on
line source

#ifndef __window_h
#define __window_h
#include <QMainWindow>
#include <QWidget>
#include <QCloseEvent>
#include "config.h"

class MainWindow : public QMainWindow {
	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