annotate 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
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>
82
8b65c417c225 *: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents: 80
diff changeset
4 #include "gui/widgets/text.h"
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 namespace Anime {
76
3364fadc8a36 *: format source code
Paper <mrpapersonic@gmail.com>
parents: 64
diff changeset
7 class Anime;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 }
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 class AnimeInfoWidget : public QWidget {
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 Q_OBJECT
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13 public:
80
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
14 AnimeInfoWidget(QWidget* parent = nullptr);
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
82
8b65c417c225 *: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents: 80
diff changeset
16 void SetAnime(const Anime::Anime& anime);
80
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
17
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
18 private:
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
19 std::shared_ptr<TextWidgets::OneLineSection> _title = nullptr;
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
20 std::shared_ptr<TextWidgets::LabelledSection> _details = nullptr;
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
21 std::shared_ptr<TextWidgets::SelectableSection> _synopsis = nullptr;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
22 };
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
24 #endif // __gui__widgets__anime_info_h