Mercurial > minori
view include/gui/widgets/anime_info.h @ 81:9b2b41f83a5e
boring: mass rename to cc
because this is a very unix-y project, it makes more sense to use the
'cc' extension
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 23 Oct 2023 12:07:27 -0400 |
parents | 825506f0e221 |
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