comparison 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
comparison
equal deleted inserted replaced
8:b1f73678ef61 9:5c0397762b53
1 #ifndef __window_h
2 #define __window_h
3 #include "core/config.h"
4 #include <QCloseEvent>
5 #include <QMainWindow>
6 #include <QWidget>
7
8 class MainWindow : public QMainWindow {
9 Q_OBJECT
10
11 public:
12 MainWindow(QWidget* parent = nullptr);
13 void SetActivePage(QWidget* page);
14 void SetStyleSheet(enum Themes theme);
15 void ThemeChanged();
16 void closeEvent(QCloseEvent* event) override;
17
18 private:
19 QWidget* main_widget;
20 };
21
22 #endif // __window_h