view include/gui/pages/seasons.h @ 317:b1f4d1867ab1

services: VERY initial Kitsu support it only supports user authentication for now, but it's definitely a start.
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 04:07:10 -0400
parents b82841e76e79
children 78929794e7d8
line wrap: on
line source

#ifndef MINORI_GUI_PAGES_SEASONS_H_
#define MINORI_GUI_PAGES_SEASONS_H_

#include <QFrame>

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

class QListWidget;
class QToolButton;

class SeasonsPage final : public QFrame {
	Q_OBJECT

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

protected:
	QListWidget* buttons = nullptr;
	QToolButton* season_button = nullptr;
};

#endif // MINORI_GUI_PAGES_SEASONS_H_