view include/gui/widgets/anime_info.h @ 82:8b65c417c225

*: fix old stuff, make video players and extensions constants
author Paper <mrpapersonic@gmail.com>
date Mon, 23 Oct 2023 13:37:42 -0400
parents 825506f0e221
children c69230dc2b5d
line wrap: on
line source

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

namespace Anime {
class Anime;
}

class AnimeInfoWidget : public QWidget {
		Q_OBJECT

	public:
		AnimeInfoWidget(QWidget* parent = nullptr);
		AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
		void 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