Mercurial > minori
comparison src/gui/pages/statistics.cc @ 105:6d8da6e64d61
theme: add dark stylesheet, make it actually usable
win32: make the titlebar black where available
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sun, 05 Nov 2023 03:54:26 -0500 |
| parents | b315f3759c56 |
| children | 45a0967485f1 |
comparison
equal
deleted
inserted
replaced
| 104:27455104ea37 | 105:6d8da6e64d61 |
|---|---|
| 16 QVBoxLayout* layout = new QVBoxLayout(this); | 16 QVBoxLayout* layout = new QVBoxLayout(this); |
| 17 | 17 |
| 18 setFrameShape(QFrame::Box); | 18 setFrameShape(QFrame::Box); |
| 19 setFrameShadow(QFrame::Sunken); | 19 setFrameShadow(QFrame::Sunken); |
| 20 | 20 |
| 21 QPalette pal = QPalette(); | |
| 22 pal.setColor(QPalette::Window, pal.color(QPalette::Base)); | |
| 23 setPalette(pal); | |
| 24 setAutoFillBackground(true); | 21 setAutoFillBackground(true); |
| 25 | 22 |
| 26 _anime_list.reset(new TextWidgets::LabelledSection( | 23 _anime_list.reset(new TextWidgets::LabelledSection( |
| 27 tr("Anime list"), | 24 tr("Anime list"), |
| 28 tr("Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:"), | 25 tr("Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:"), |
