comparison src/gui/window.cpp @ 36:2743011a6042

*: mass update formatted all source files, converted ALL instances of setStyleSheet() to palettes and fonts (stylesheets suck), and I changed the clang-format file because it wasn't working on my laptop for some reason.
author Paper <mrpapersonic@gmail.com>
date Thu, 21 Sep 2023 15:17:47 -0400
parents cde8f67a7c7d
children 9ae9365dd4ea
comparison
equal deleted inserted replaced
35:329b7921a6be 36:2743011a6042
45 sidebar->AddSeparator(); 45 sidebar->AddSeparator();
46 sidebar->AddItem("Search", SideBar::CreateIcon(":/icons/16x16/magnifier.png")); 46 sidebar->AddItem("Search", SideBar::CreateIcon(":/icons/16x16/magnifier.png"));
47 sidebar->AddItem("Seasons", SideBar::CreateIcon(":/icons/16x16/calendar.png")); 47 sidebar->AddItem("Seasons", SideBar::CreateIcon(":/icons/16x16/calendar.png"));
48 sidebar->AddItem("Torrents", SideBar::CreateIcon(":/icons/16x16/feed.png")); 48 sidebar->AddItem("Torrents", SideBar::CreateIcon(":/icons/16x16/feed.png"));
49 sidebar->setFixedWidth(128); 49 sidebar->setFixedWidth(128);
50 sidebar->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); 50 sidebar->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
51 51
52 QStackedWidget* stack = new QStackedWidget(main_widget); 52 QStackedWidget* stack = new QStackedWidget(main_widget);
53 stack->addWidget(new NowPlayingWidget(main_widget)); 53 stack->addWidget(new NowPlayingWidget(main_widget));
54 stack->addWidget(new AnimeListWidget(main_widget)); 54 stack->addWidget(new AnimeListWidget(main_widget));
55 stack->addWidget(new StatisticsWidget(main_widget)); 55 stack->addWidget(new StatisticsWidget(main_widget));