view include/gui/pages/seasons.h @ 260:dd211ff68b36

pages/seasons: add initial functionality the menu doesn't work yet, but it's a good start
author Paper <paper@paper.us.eu.org>
date Wed, 03 Apr 2024 19:48:38 -0400
parents fe702c8f161f
children 3ec7804abf17
line wrap: on
line source

#ifndef __gui__pages__seasons_h
#define __gui__pages__seasons_h

#include <QWidget>

#include "core/anime.h"
#include "core/date.h"

class QListWidget;
class QResizeEvent;

class SeasonsPage final : public QWidget {
	Q_OBJECT

public:
	SeasonsPage(QWidget* parent = nullptr);
	void SetSeason(Anime::SeriesSeason season, Date::Year year);

protected:
	QListWidget* buttons = nullptr;
};

#endif // __gui__pages__seasons_h