view include/gui/widgets/anime_info.h @ 314:76d7315504c4

README: remove mention of nonexistant /docs directory
author Paper <paper@paper.us.eu.org>
date Tue, 11 Jun 2024 13:29:45 -0400
parents b1f625b0227c
children 1b5c04268d6a
line wrap: on
line source

#ifndef MINORI_GUI_WIDGETS_ANIME_INFO_H_
#define MINORI_GUI_WIDGETS_ANIME_INFO_H_

#include <QWidget>
#include "gui/widgets/text.h"

namespace Anime {
class Anime;
}

class AnimeInfoWidget final : public QWidget {
	Q_OBJECT

public:
	AnimeInfoWidget(QWidget* parent = nullptr);
	AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
	void SetAnime(const Anime::Anime& anime);

private:
	TextWidgets::OneLineSection _title;
	TextWidgets::LabelledSection _details;
	TextWidgets::SelectableSection _synopsis;
};

#endif // MINORI_GUI_WIDGETS_ANIME_INFO_H_