72 BtnNetOfficial->setWhatsThis(tr("Play a game on an official server")); |
72 BtnNetOfficial->setWhatsThis(tr("Play a game on an official server")); |
73 BtnNetOfficial->setFixedSize(BtnNet->width() - 50, 60); |
73 BtnNetOfficial->setFixedSize(BtnNet->width() - 50, 60); |
74 BtnNetOfficial->setVisible(false); |
74 BtnNetOfficial->setVisible(false); |
75 |
75 |
76 // button order matters for overlapping (what's on top and what isn't) |
76 // button order matters for overlapping (what's on top and what isn't) |
77 BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true); |
77 BtnTitle = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true); |
78 BtnInfo->setObjectName("infoButton"); |
78 BtnTitle ->setObjectName("infoButton"); |
|
79 BtnTitle->setWhatsThis(tr("Read about who is behind the Hedgewars Project")); |
|
80 pageLayout->setAlignment(BtnTitle, Qt::AlignHCenter); |
|
81 |
|
82 BtnInfo = addButton(":/res/AboutIcon.png", pageLayout, 0, 0, 1, 1, true); |
79 BtnInfo->setWhatsThis(tr("Read about who is behind the Hedgewars Project")); |
83 BtnInfo->setWhatsThis(tr("Read about who is behind the Hedgewars Project")); |
80 pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter); |
84 pageLayout->setAlignment(BtnInfo, Qt::AlignLeft | Qt::AlignTop); |
81 |
85 |
82 BtnFeedback = addButton(tr("Feedback"), pageLayout, 4, 0, 1, 4, false); |
86 BtnFeedback = addButton(tr("Feedback"), pageLayout, 4, 0, 1, 4, false); |
83 BtnFeedback->setStyleSheet("padding: 5px 10px"); |
87 BtnFeedback->setStyleSheet("padding: 5px 10px"); |
84 BtnFeedback->setWhatsThis(tr("Leave a feedback here reporting issues, suggesting features or just saying how you like Hedgewars")); |
88 BtnFeedback->setWhatsThis(tr("Leave a feedback here reporting issues, suggesting features or just saying how you like Hedgewars")); |
85 pageLayout->setAlignment(BtnFeedback, Qt::AlignHCenter); |
89 pageLayout->setAlignment(BtnFeedback, Qt::AlignHCenter); |