comparison 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
comparison
equal deleted inserted replaced
79:c489dd4434af 80:825506f0e221
8 8
9 class AnimeInfoWidget : public QWidget { 9 class AnimeInfoWidget : public QWidget {
10 Q_OBJECT 10 Q_OBJECT
11 11
12 public: 12 public:
13 AnimeInfoWidget(QWidget* parent = nullptr);
13 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr); 14 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
15 SetAnime(const Anime::Anime& anime);
16
17 private:
18 std::shared_ptr<TextWidgets::OneLineSection> _title = nullptr;
19 std::shared_ptr<TextWidgets::LabelledSection> _details = nullptr;
20 std::shared_ptr<TextWidgets::SelectableSection> _synopsis = nullptr;
14 }; 21 };
15 22
16 #endif // __gui__widgets__anime_info_h 23 #endif // __gui__widgets__anime_info_h