annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __gui__widgets__anime_info_h
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __gui__widgets__anime_info_h
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 #include <QWidget>
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 namespace Anime {
76
3364fadc8a36 *: format source code
Paper <mrpapersonic@gmail.com>
parents: 64
diff changeset
6 class Anime;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 }
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 class AnimeInfoWidget : public QWidget {
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 Q_OBJECT
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 public:
80
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
13 AnimeInfoWidget(QWidget* parent = nullptr);
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
80
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
15 SetAnime(const Anime::Anime& anime);
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
16
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
17 private:
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
18 std::shared_ptr<TextWidgets::OneLineSection> _title = nullptr;
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
19 std::shared_ptr<TextWidgets::LabelledSection> _details = nullptr;
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
20 std::shared_ptr<TextWidgets::SelectableSection> _synopsis = nullptr;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
21 };
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
22
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23 #endif // __gui__widgets__anime_info_h