Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
252:a0eeb2cc7e6d | 253:b3549da699a6 |
---|---|
1 #include "gui/pages/seasons.h" | 1 #include "gui/pages/seasons.h" |
2 | 2 |
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 | |
3 SeasonsPage::SeasonsPage(QWidget* parent) : QWidget(parent) { | 9 SeasonsPage::SeasonsPage(QWidget* parent) : QWidget(parent) { |
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 } | |
4 } | 36 } |