QTfrontend/ui/page/pagegamestats.cpp
changeset 13236 6193503c4727
parent 13223 d0647647a697
child 13713 3264a26bbf8b
equal deleted inserted replaced
13235:d5a029299407 13236:6193503c4727
    68     gb->setLayout(gbl);
    68     gb->setLayout(gbl);
    69     pageLayout->addWidget(gb, 1, 1);
    69     pageLayout->addWidget(gb, 1, 1);
    70 
    70 
    71     // graph
    71     // graph
    72     graphic = new FitGraphicsView(gb);
    72     graphic = new FitGraphicsView(gb);
       
    73     graphic->setObjectName("gameStatsView");
    73     labelGraphTitle = new QLabel(this);
    74     labelGraphTitle = new QLabel(this);
    74     labelGraphTitle->setTextFormat(Qt::RichText);
    75     labelGraphTitle->setTextFormat(Qt::RichText);
    75     labelGraphTitle->setText("<br><h1><img src=\":/res/StatsH.png\"> " + PageGameStats::tr("Health graph") + "</h1>");
    76     labelGraphTitle->setText("<br><h1><img src=\":/res/StatsH.png\"> " + PageGameStats::tr("Health graph") + "</h1>");
    76     labelGraphTitle->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
    77     labelGraphTitle->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
    77     gbl->addWidget(labelGraphTitle);
    78     gbl->addWidget(labelGraphTitle);