view include/gui/widgets/anime_info.h @ 80:825506f0e221

[UNFINISHED]: stuff
author Paper <mrpapersonic@gmail.com>
date Fri, 13 Oct 2023 13:15:19 -0400
parents 3364fadc8a36
children 8b65c417c225
line wrap: on
line source

#ifndef __gui__widgets__anime_info_h
#define __gui__widgets__anime_info_h
#include <QWidget>

namespace Anime {
class Anime;
}

class AnimeInfoWidget : public QWidget {
		Q_OBJECT

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

	private:
		std::shared_ptr<TextWidgets::OneLineSection> _title = nullptr;
		std::shared_ptr<TextWidgets::LabelledSection> _details = nullptr;
		std::shared_ptr<TextWidgets::SelectableSection> _synopsis = nullptr;
};

#endif // __gui__widgets__anime_info_h