QTfrontend/ui/widget/feedbackdialog.cpp
changeset 8820 9cc4a057473f
parent 8725 5529b353d025
child 8868 6f79a69a41f1
equal deleted inserted replaced
8818:8f317ba10675 8820:9cc4a057473f
    72     QHBoxLayout * descriptionLayout = new QHBoxLayout();
    72     QHBoxLayout * descriptionLayout = new QHBoxLayout();
    73     QHBoxLayout * combinedTopLayout = new QHBoxLayout();
    73     QHBoxLayout * combinedTopLayout = new QHBoxLayout();
    74     QHBoxLayout * systemLayout = new QHBoxLayout();
    74     QHBoxLayout * systemLayout = new QHBoxLayout();
    75 
    75 
    76     info = new QLabel();
    76     info = new QLabel();
    77     info->setText(
    77     info->setText(QString(
    78         "<style type=\"text/css\">"
    78         "<style type=\"text/css\">"
    79         "a { color: #fc0; }"
    79         "a { color: #fc0; }"
    80         "b { color: #0df; }"
    80         "b { color: #0df; }"
    81         "</style>"
    81         "</style>"
    82         "<div align=\"center\"><h1>Please give us feedback!</h1>"
    82         "<div align=\"center\"><h1>%1</h1>"
    83         "<h3>We are always happy about suggestions, ideas, or bug reports.<h3>"
    83         "<h3>%2<h3>"
    84         "<h4>Your email address is optional, but we may want to contact you.<h4>"
    84         "<h4>%3 <a href=\"http://code.google.com/p/hedgewars/wiki/KnownBugs\">known bugs</a><h4>"
    85         "</div>"
    85         "<h4>%4<h4>"
       
    86         "</div>")
       
    87         .arg(tr("Please give us feedback!"))
       
    88         .arg(tr("We are always happy about suggestions, ideas, or bug reports."))
       
    89         .arg(tr("If you found a bug, you can see if it's already known here (english): "))
       
    90         .arg(tr("Your email address is optional, but we may want to contact you."))
    86     );
    91     );
       
    92     info->setOpenExternalLinks(true);
    87     pageLayout->addWidget(info);
    93     pageLayout->addWidget(info);
    88 
    94 
    89     QVBoxLayout * summaryEmailLayout = new QVBoxLayout();
    95     QVBoxLayout * summaryEmailLayout = new QVBoxLayout();
    90 
    96 
    91     const int labelWidth = 90;
    97     const int labelWidth = 90;