Mercurial > minori
annotate src/gui/pages/seasons.cc @ 253:b3549da699a6
*: ooooh! stupid big commit!
oops
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 06 Feb 2024 16:56:32 -0500 |
parents | 4d461ef7d424 |
children | d14f8e0e40c3 |
rev | line source |
---|---|
54
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
1 #include "gui/pages/seasons.h" |
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
2 |
253 | 3 #include "core/anime_db.h" |
4 #include "gui/widgets/anime_button.h" | |
5 #include "gui/layouts/flow_layout.h" | |
6 | |
7 #include <QVBoxLayout> | |
8 | |
64 | 9 SeasonsPage::SeasonsPage(QWidget* parent) : QWidget(parent) { |
253 | 10 FlowLayout* ly = new FlowLayout(this); |
11 { | |
12 AnimeButton* button = new AnimeButton(this); | |
13 button->SetAnime(Anime::db.items[Anime::db.GetAnimeFromTitle("Another")]); | |
14 ly->addWidget(button); | |
15 } | |
16 { | |
17 AnimeButton* button = new AnimeButton(this); | |
18 button->SetAnime(Anime::db.items[Anime::db.GetAnimeFromTitle("Another")]); | |
19 ly->addWidget(button); | |
20 } | |
21 { | |
22 AnimeButton* button = new AnimeButton(this); | |
23 button->SetAnime(Anime::db.items[Anime::db.GetAnimeFromTitle("Another")]); | |
24 ly->addWidget(button); | |
25 } | |
26 { | |
27 AnimeButton* button = new AnimeButton(this); | |
28 button->SetAnime(Anime::db.items[Anime::db.GetAnimeFromTitle("Another")]); | |
29 ly->addWidget(button); | |
30 } | |
31 { | |
32 AnimeButton* button = new AnimeButton(this); | |
33 button->SetAnime(Anime::db.items[Anime::db.GetAnimeFromTitle("Another")]); | |
34 ly->addWidget(button); | |
35 } | |
54
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
36 } |