equal
deleted
inserted
replaced
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); |