view src/include/window.h @ 8:b1f73678ef61

update text paragraphs are now their own objects, as they should be
author Paper <mrpapersonic@gmail.com>
date Sat, 26 Aug 2023 03:39:34 -0400
parents 07a9095eaeed
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