56 BtnInfo->setStyleSheet("border: transparent;background: transparent;"); |
56 BtnInfo->setStyleSheet("border: transparent;background: transparent;"); |
57 //BtnInfo->setToolTip(tr("Credits")); //tooltip looks horrible with transparent background buttons |
57 //BtnInfo->setToolTip(tr("Credits")); //tooltip looks horrible with transparent background buttons |
58 BtnInfo->setWhatsThis(tr("Read about who is behind the Hedgewars Project")); |
58 BtnInfo->setWhatsThis(tr("Read about who is behind the Hedgewars Project")); |
59 pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter); |
59 pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter); |
60 |
60 |
61 BtnDataDownload = addButton(tr("Downloadable Content"), pageLayout, 4, 0, 1, 4, false); |
61 BtnFeedback = addButton("Feedback", pageLayout, 4, 0, 1, 4, false); |
|
62 BtnFeedback->setWhatsThis(tr("Leave a feeback here, reporting issues, suggesting features or just saying how you like Hedgewars")); |
|
63 pageLayout->setAlignment(BtnFeedback, Qt::AlignHCenter); |
|
64 |
|
65 BtnDataDownload = addButton(tr("Downloadable Content"), pageLayout, 5, 0, 1, 4, false); |
62 //BtnDataDownload->setToolTip(tr(Downloadable Content")); |
66 //BtnDataDownload->setToolTip(tr(Downloadable Content")); |
63 BtnDataDownload->setWhatsThis(tr("Access the user created content downloadable from our website")); |
67 BtnDataDownload->setWhatsThis(tr("Access the user created content downloadable from our website")); |
64 pageLayout->setAlignment(BtnDataDownload, Qt::AlignHCenter); |
68 pageLayout->setAlignment(BtnDataDownload, Qt::AlignHCenter); |
65 |
69 |
66 return pageLayout; |
70 return pageLayout; |
76 |
80 |
77 bottomLayout->addWidget(mainNote, 0); |
81 bottomLayout->addWidget(mainNote, 0); |
78 bottomLayout->setStretch(0,1); |
82 bottomLayout->setStretch(0,1); |
79 |
83 |
80 BtnSetup = addButton(":/res/Settings.png", bottomLayout, 1, true); |
84 BtnSetup = addButton(":/res/Settings.png", bottomLayout, 1, true); |
81 BtnFeedback = addButton("Feedback", bottomLayout, 0); |
|
82 bottomLayout->setStretch(1,0); |
|
83 |
|
84 return bottomLayout; |
85 return bottomLayout; |
85 } |
86 } |
86 |
87 |
87 void PageMain::connectSignals() |
88 void PageMain::connectSignals() |
88 { |
89 { |