71 pageLayout->setRowStretch(2, 0); |
71 pageLayout->setRowStretch(2, 0); |
72 pageLayout->setRowStretch(3, 1); |
72 pageLayout->setRowStretch(3, 1); |
73 pageLayout->setRowStretch(4, 1); |
73 pageLayout->setRowStretch(4, 1); |
74 |
74 |
75 BtnSinglePlayer = addButton(":/res/LocalPlay.png", pageLayout, 2, 0, 1, 2, true); |
75 BtnSinglePlayer = addButton(":/res/LocalPlay.png", pageLayout, 2, 0, 1, 2, true); |
|
76 BtnSinglePlayer->setToolTip(tr("Local Game (Play a game on a single computer)")); |
76 pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter); |
77 pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter); |
77 |
78 |
78 BtnNet = addButton(":/res/NetworkPlay.png", pageLayout, 2, 2, 1, 2, true); |
79 BtnNet = addButton(":/res/NetworkPlay.png", pageLayout, 2, 2, 1, 2, true); |
|
80 BtnNet->setToolTip(tr("Network Game (Play a game across a network)")); |
79 pageLayout->setAlignment(BtnNet, Qt::AlignHCenter); |
81 pageLayout->setAlignment(BtnNet, Qt::AlignHCenter); |
80 |
82 |
81 BtnSetup = addButton(":/res/Settings.png", pageLayout, 4, 3, true); |
83 BtnSetup = addButton(":/res/Settings.png", pageLayout, 4, 3, true); |
82 |
84 |
83 //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true); |
85 //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true); |
600 vLayout->addLayout(middleLine); |
602 vLayout->addLayout(middleLine); |
601 vLayout->addStretch(); |
603 vLayout->addStretch(); |
602 vLayout->addLayout(bottomLine); |
604 vLayout->addLayout(bottomLine); |
603 |
605 |
604 BtnSimpleGamePage = addButton(":/res/SimpleGame.png", topLine, 0, true); |
606 BtnSimpleGamePage = addButton(":/res/SimpleGame.png", topLine, 0, true); |
|
607 BtnSimpleGamePage->setToolTip(tr("Simple Game (a quick game against the computer, settings are chosen for you)")); |
|
608 |
605 BtnMultiplayer = addButton(":/res/Multiplayer.png", topLine, 1, true); |
609 BtnMultiplayer = addButton(":/res/Multiplayer.png", topLine, 1, true); |
|
610 BtnMultiplayer->setToolTip(tr("Multiplayer (play a hotseat game against your friends, or AI teams)")); |
606 // pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter); |
611 // pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter); |
607 BtnTrainPage = addButton(":/res/Trainings.png", middleLine, 0, true); |
612 BtnTrainPage = addButton(":/res/Trainings.png", middleLine, 0, true); |
|
613 BtnTrainPage->setToolTip(tr("Training Mode (Practice your skills in a range of training missions). IN DEVELOPMENT")); |
608 |
614 |
609 BtnBack = addButton(":/res/Exit.png", bottomLine, 0, true); |
615 BtnBack = addButton(":/res/Exit.png", bottomLine, 0, true); |
610 bottomLine->addStretch(); |
616 bottomLine->addStretch(); |
611 |
617 |
612 BtnDemos = addButton(":/res/Record.png", bottomLine, 1, true); |
618 BtnDemos = addButton(":/res/Record.png", bottomLine, 1, true); |
|
619 BtnDemos->setToolTip(tr("Demos (Watch recorded demos)")); |
613 BtnLoad = addButton(":/res/Save.png", bottomLine, 2, true); |
620 BtnLoad = addButton(":/res/Save.png", bottomLine, 2, true); |
614 BtnLoad->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}"); |
621 BtnLoad->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}"); |
|
622 BtnLoad->setToolTip(tr("Load (Load a previously saved game)")); |
615 } |
623 } |
616 |
624 |
617 PageTraining::PageTraining(QWidget* parent) : AbstractPage(parent) |
625 PageTraining::PageTraining(QWidget* parent) : AbstractPage(parent) |
618 { |
626 { |
619 QFont * font14 = new QFont("MS Shell Dlg", 14); |
627 QFont * font14 = new QFont("MS Shell Dlg", 14); |