comparison include/gui/pages/seasons.h @ 348:6b0768158dcd

text: redesign almost every widget i.e. Paragraph is now a QLabel, etc etc, some things will probably break, idc
author Paper <paper@paper.us.eu.org>
date Tue, 25 Jun 2024 11:19:54 -0400
parents b5d6c27c308f
children
comparison
equal deleted inserted replaced
347:a0aa8c8c4307 348:6b0768158dcd
1 #ifndef MINORI_GUI_PAGES_SEASONS_H_ 1 #ifndef MINORI_GUI_PAGES_SEASONS_H_
2 #define MINORI_GUI_PAGES_SEASONS_H_ 2 #define MINORI_GUI_PAGES_SEASONS_H_
3 3
4 #include <QFrame> 4 #include <QFrame>
5 #include <QThread> 5 #include <QThread>
6 #include <QToolButton>
6 7
7 #include "core/anime.h" 8 #include "core/anime.h"
8 #include "core/date.h" 9 #include "core/date.h"
9 10
10 #include <utility> 11 #include <utility>
41 void SetSeason(Anime::Season season); 42 void SetSeason(Anime::Season season);
42 void Refresh(); 43 void Refresh();
43 44
44 protected: 45 protected:
45 QListWidget* buttons = nullptr; 46 QListWidget* buttons = nullptr;
46 QToolButton* season_button = nullptr; 47 QToolButton season_button;
47 48
48 Anime::Season season_; 49 Anime::Season season_;
49 }; 50 };
50 51
51 #endif // MINORI_GUI_PAGES_SEASONS_H_ 52 #endif // MINORI_GUI_PAGES_SEASONS_H_