comparison src/gui/pages/statistics.cpp @ 48:e613772f41d5

statistics.cpp: show requests made
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 01:07:22 -0400
parents d8eb763e6661
children f4bea5ef5b8a
comparison
equal deleted inserted replaced
47:d8eb763e6661 48:e613772f41d5
27 "Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:", "\n\n\n\n\n", 27 "Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:", "\n\n\n\n\n",
28 this); 28 this);
29 anime_list_data = anime_list_paragraph->GetParagraph(); 29 anime_list_data = anime_list_paragraph->GetParagraph();
30 30
31 TextWidgets::LabelledTextParagraph* application_paragraph = 31 TextWidgets::LabelledTextParagraph* application_paragraph =
32 new TextWidgets::LabelledTextParagraph("Minori", "Uptime:\nRequests made:", "", this); 32 new TextWidgets::LabelledTextParagraph("Minori", "Uptime:\nRequests made:", "\n", this);
33 application_data = application_paragraph->GetParagraph(); 33 application_data = application_paragraph->GetParagraph();
34 34
35 layout()->addWidget(anime_list_paragraph); 35 layout()->addWidget(anime_list_paragraph);
36 layout()->addWidget(application_paragraph); 36 layout()->addWidget(application_paragraph);
37 ((QBoxLayout*)layout())->addStretch(); 37 ((QBoxLayout*)layout())->addStretch();