comparison src/include/window.h @ 6:1d82f6e04d7d

Update: add first parts to the settings dialog
author Paper <mrpapersonic@gmail.com>
date Wed, 16 Aug 2023 00:49:17 -0400
parents 5af270662505
children 07a9095eaeed
comparison
equal deleted inserted replaced
5:51ae25154b70 6:1d82f6e04d7d
19 # include <QCloseEvent> 19 # include <QCloseEvent>
20 # include <QPlainTextEdit> 20 # include <QPlainTextEdit>
21 # include <QLabel> 21 # include <QLabel>
22 # include <QHBoxLayout> 22 # include <QHBoxLayout>
23 # include <QTextStream> 23 # include <QTextStream>
24 # include <QSortFilterProxyModel>
24 # include "config.h" 25 # include "config.h"
25 //# include "statistics.h" 26 //# include "statistics.h"
26 //# include "now_playing.h" 27 //# include "now_playing.h"
27 28
28 class MainWindow : public QMainWindow { 29 class MainWindow : public QMainWindow {
32 void SetStyleSheet(enum Themes theme); 33 void SetStyleSheet(enum Themes theme);
33 void ThemeChanged(); 34 void ThemeChanged();
34 void closeEvent(QCloseEvent* event) override; 35 void closeEvent(QCloseEvent* event) override;
35 36
36 private: 37 private:
38 QWidget* main_widget;
37 QWidget* anime_list_page; 39 QWidget* anime_list_page;
38 }; 40 };
39 41
40 struct Session { 42 struct Session {
41 Config config; 43 Config config;