annotate include/gui/widgets/anime_info.h @ 296:b2a4358da16c

scripts/win32: CRLF -> LF this breaks win32 build scripts
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 02:48:39 -0400
parents 9a88e1725fd2
children b1f625b0227c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
261
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 258
diff changeset
1 #ifndef MINORI_GUI_WIDGETS_ANIME_INFO_H_
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 258
diff changeset
2 #define MINORI_GUI_WIDGETS_ANIME_INFO_H_
85
c69230dc2b5d *: cleanup includes
Paper <mrpapersonic@gmail.com>
parents: 82
diff changeset
3
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 #include <QWidget>
291
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
5 #include "gui/widgets/text.h"
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 namespace Anime {
76
3364fadc8a36 *: format source code
Paper <mrpapersonic@gmail.com>
parents: 64
diff changeset
8 class Anime;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 }
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10
95
8043152ef9d4 include: set classes as final where appropriate
Paper <mrpapersonic@gmail.com>
parents: 85
diff changeset
11 class AnimeInfoWidget final : public QWidget {
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
12 Q_OBJECT
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
14 public:
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
15 AnimeInfoWidget(QWidget* parent = nullptr);
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
16 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
17 void SetAnime(const Anime::Anime& anime);
80
825506f0e221 [UNFINISHED]: stuff
Paper <mrpapersonic@gmail.com>
parents: 76
diff changeset
18
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 95
diff changeset
19 private:
291
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
20 TextWidgets::OneLineSection _title;
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
21 TextWidgets::LabelledSection _details;
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
22 TextWidgets::SelectableSection _synopsis;
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23 };
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
24
261
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 258
diff changeset
25 #endif // MINORI_GUI_WIDGETS_ANIME_INFO_H_