Mercurial > minori
view include/gui/window.h @ 101:c537996cf67b
*: multitude of config changes
1. theme is now configurable from the settings menu
(but you have to restart for it to apply)
2. config is now stored in an INI file, with no method of
conversion from json (this repo is private-ish anyway)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 14:06:02 -0400 |
parents | 8043152ef9d4 |
children | 6d8da6e64d61 |
line wrap: on
line source
#ifndef __window_h #define __window_h #include "core/config.h" #include <QMainWindow> class QWidget; class QStackedWidget; class QCloseEvent; class SideBar; class MainWindow final : public QMainWindow { Q_OBJECT 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