comparison include/gui/pages/seasons.h @ 263:96416310ea14

pages/seasons: finish season menu implementation
author Paper <paper@paper.us.eu.org>
date Wed, 03 Apr 2024 20:46:40 -0400
parents 3ec7804abf17
children b82841e76e79
comparison
equal deleted inserted replaced
262:8e282d0dc282 263:96416310ea14
5 5
6 #include "core/anime.h" 6 #include "core/anime.h"
7 #include "core/date.h" 7 #include "core/date.h"
8 8
9 class QListWidget; 9 class QListWidget;
10 class QResizeEvent; 10 class QToolButton;
11 11
12 class SeasonsPage final : public QWidget { 12 class SeasonsPage final : public QWidget {
13 Q_OBJECT 13 Q_OBJECT
14 14
15 public: 15 public:
16 SeasonsPage(QWidget* parent = nullptr); 16 SeasonsPage(QWidget* parent = nullptr);
17 void SetSeason(Anime::SeriesSeason season, Date::Year year); 17 void SetSeason(Anime::SeriesSeason season, Date::Year year);
18 18
19 protected: 19 protected:
20 QListWidget* buttons = nullptr; 20 QListWidget* buttons = nullptr;
21 QToolButton* season_button = nullptr;
21 }; 22 };
22 23
23 #endif // MINORI_GUI_PAGES_SEASONS_H_ 24 #endif // MINORI_GUI_PAGES_SEASONS_H_