# HG changeset patch # User Drew Gottlieb # Date 1355017783 18000 # Node ID cd2bae15a9a37e5ccdb5c5eb83ddf1edfee7c898 # Parent 7324298dbcc1e89e9b849c54f6b5051197c791ac hides the 'email' prompt on the feedback page (as that doesn't work, so it's a misleading/useless feature), makes the "please add your email" text a little nicer and more noticeable, and makes the "feedback" and "downloadable content" buttons on the main menu a little bit larger, and more clickable. diff -r 7324298dbcc1 -r cd2bae15a9a3 QTfrontend/ui/page/pagefeedback.cpp --- a/QTfrontend/ui/page/pagefeedback.cpp Sat Dec 08 20:23:13 2012 +0400 +++ b/QTfrontend/ui/page/pagefeedback.cpp Sat Dec 08 20:49:43 2012 -0500 @@ -59,11 +59,13 @@ info = new QLabel(); info->setText( "" "

Please give us a feedback!

" "

We are always happy about suggestions, ideas or bug reports.

" - "

The feedback will be posted as a new issue on our Google Code page.

" + "

The feedback will be posted as a new issue on our Google Code page.
" + "Don't forget to mention your email or you won't be able to receive updates on this topic!

" //"

Your email is optional, but if given, you will be notified of responses.

" "

" ); @@ -86,8 +88,12 @@ // It's sent in the XML as a , the , but it doesn't seem // to actually do anything. If you figure out how to fix that, uncomment these lines // and the line above in the 'info' QLabel to re-enable this feature. + // UPDATE: I found out that CC only works if that email is a member of the + // Google Code project. So this feature is pretty much useless atm. + /* combinedTopLayout->addLayout(emailLayout); combinedTopLayout->insertSpacing(1, 50); + */ pageLayout->addLayout(combinedTopLayout); @@ -239,7 +245,6 @@ // add everything to the field of text description->setText( - "Don't forget to mention your email or you won't be able to receive updates on this topic!" "\n\n\n\n\n" "System information:\n" + qt_version diff -r 7324298dbcc1 -r cd2bae15a9a3 QTfrontend/ui/page/pagemain.cpp --- a/QTfrontend/ui/page/pagemain.cpp Sat Dec 08 20:23:13 2012 +0400 +++ b/QTfrontend/ui/page/pagemain.cpp Sat Dec 08 20:49:43 2012 -0500 @@ -59,10 +59,12 @@ pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter); BtnFeedback = addButton("Feedback", pageLayout, 4, 0, 1, 4, false); + BtnFeedback->setFixedSize(86, 27); BtnFeedback->setWhatsThis(tr("Leave a feedback here reporting issues, suggesting features or just saying how you like Hedgewars")); pageLayout->setAlignment(BtnFeedback, Qt::AlignHCenter); BtnDataDownload = addButton(tr("Downloadable Content"), pageLayout, 5, 0, 1, 4, false); + BtnDataDownload->setFixedSize(176, 27); //BtnDataDownload->setToolTip(tr(Downloadable Content")); BtnDataDownload->setWhatsThis(tr("Access the user created content downloadable from our website")); pageLayout->setAlignment(BtnDataDownload, Qt::AlignHCenter);