577 |
577 |
578 about = new About(this); |
578 about = new About(this); |
579 pageLayout->addWidget(about, 0, 0, 1, 3); |
579 pageLayout->addWidget(about, 0, 0, 1, 3); |
580 } |
580 } |
581 |
581 |
582 PageGameStats::PageGameStats(QWidget* parent) : AbstractPage(parent) |
|
583 { |
|
584 QFont * font14 = new QFont("MS Shell Dlg", 14); |
|
585 QGridLayout * pageLayout = new QGridLayout(this); |
|
586 pageLayout->setColumnStretch(0, 1); |
|
587 pageLayout->setColumnStretch(1, 1); |
|
588 pageLayout->setColumnStretch(2, 1); |
|
589 |
|
590 BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true); |
|
591 |
|
592 labelGameStats = new QLabel(this); |
|
593 labelGameStats->setTextFormat(Qt::RichText); |
|
594 pageLayout->addWidget(labelGameStats, 0, 0, 1, 3); |
|
595 } |
|
596 |
|
597 PageSinglePlayer::PageSinglePlayer(QWidget* parent) : AbstractPage(parent) |
582 PageSinglePlayer::PageSinglePlayer(QWidget* parent) : AbstractPage(parent) |
598 { |
583 { |
599 QFont * font14 = new QFont("MS Shell Dlg", 14); |
584 QFont * font14 = new QFont("MS Shell Dlg", 14); |
600 QVBoxLayout * vLayout = new QVBoxLayout(this); |
585 QVBoxLayout * vLayout = new QVBoxLayout(this); |
601 QHBoxLayout * topLine = new QHBoxLayout(); |
586 QHBoxLayout * topLine = new QHBoxLayout(); |