annotate include/gui/widgets/anime_info.h @ 75:d3e9310598b1

*: refactor some stuff text: "TextParagraph"s are now called sections, because that's the actual word for it :P text: new classes: Line and OneLineSection, solves many problems with paragraphs that are only one line long (ex. going out of bounds) http: reworked http stuff to allow threaded get requests, also moved it to its own file to (hopefully) remove clutter eventually I'll make a threaded post request method and use that in the "basic" function
author Paper <mrpapersonic@gmail.com>
date Wed, 04 Oct 2023 01:42:30 -0400
parents fe719c109dbc
children 3364fadc8a36
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 {
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 class Anime;
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:
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13 AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr);
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 };
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
16 #endif // __gui__widgets__anime_info_h