QTfrontend/statsPage.cpp
changeset 1637 897b37fc4966
parent 1636 e528696f2177
child 1673 06bff12f8a74
equal deleted inserted replaced
1636:e528696f2177 1637:897b37fc4966
    46 	labelGameStats->setTextFormat(Qt::RichText);
    46 	labelGameStats->setTextFormat(Qt::RichText);
    47 	pageLayout->addWidget(labelGameStats, 0, 0, 1, 3);
    47 	pageLayout->addWidget(labelGameStats, 0, 0, 1, 3);
    48 
    48 
    49 	graphic = new FitGraphicsView(this);
    49 	graphic = new FitGraphicsView(this);
    50 	graphic->scale(1.0, -1.0);
    50 	graphic->scale(1.0, -1.0);
       
    51 	graphic->setBackgroundBrush(QBrush(Qt::black));
    51 	pageLayout->addWidget(graphic, 1, 0, 1, 3);
    52 	pageLayout->addWidget(graphic, 1, 0, 1, 3);
    52 }
    53 }
    53 
    54 
    54 void PageGameStats::AddStatText(const QString & msg)
    55 void PageGameStats::AddStatText(const QString & msg)
    55 {
    56 {