QTfrontend/ui/page/pagefeedback.cpp
changeset 8277 cd2bae15a9a3
parent 8274 7324298dbcc1
child 8289 302a2521fe7a
equal deleted inserted replaced
8274:7324298dbcc1 8277:cd2bae15a9a3
    57     QHBoxLayout * combinedTopLayout = new QHBoxLayout();
    57     QHBoxLayout * combinedTopLayout = new QHBoxLayout();
    58 
    58 
    59     info = new QLabel();
    59     info = new QLabel();
    60     info->setText(
    60     info->setText(
    61         "<style type=\"text/css\">"
    61         "<style type=\"text/css\">"
    62         "a { color: #ffcc00; }"
    62         "a { color: #fc0; }"
       
    63         "b { color: #0df; }"
    63         "</style>"
    64         "</style>"
    64         "<div align=\"center\"><h1>Please give us a feedback!</h1>"
    65         "<div align=\"center\"><h1>Please give us a feedback!</h1>"
    65         "<h3>We are always happy about suggestions, ideas or bug reports.<h3>"
    66         "<h3>We are always happy about suggestions, ideas or bug reports.<h3>"
    66         "<h4>The feedback will be posted as a new issue on our Google Code page.<h4>"
    67         "<h4>The feedback will be posted as a new issue on our Google Code page.<br />"
       
    68         "<b>Don't forget to mention your email or you won't be able to receive updates on this topic!</b><br /></h4>"
    67         //"<h4>Your email is optional, but if given, you will be notified of responses.<h4>"
    69         //"<h4>Your email is optional, but if given, you will be notified of responses.<h4>"
    68         "</div>"
    70         "</div>"
    69     );
    71     );
    70     pageLayout->addWidget(info);
    72     pageLayout->addWidget(info);
    71 
    73 
    84     
    86     
    85     //  Email -- although implemented -- doesn't seem to work as intended.
    87     //  Email -- although implemented -- doesn't seem to work as intended.
    86     //  It's sent in the XML as a <issues:cc> , the <entry>, but it doesn't seem
    88     //  It's sent in the XML as a <issues:cc> , the <entry>, but it doesn't seem
    87     //  to actually do anything. If you figure out how to fix that, uncomment these lines
    89     //  to actually do anything. If you figure out how to fix that, uncomment these lines
    88     //  and the line above in the 'info' QLabel to re-enable this feature.
    90     //  and the line above in the 'info' QLabel to re-enable this feature.
       
    91     //  UPDATE: I found out that CC only works if that email is a member of the
       
    92     //  Google Code project. So this feature is pretty much useless atm.
       
    93     /*
    89     combinedTopLayout->addLayout(emailLayout);
    94     combinedTopLayout->addLayout(emailLayout);
    90     combinedTopLayout->insertSpacing(1, 50);
    95     combinedTopLayout->insertSpacing(1, 50);
       
    96     */
    91 
    97 
    92     pageLayout->addLayout(combinedTopLayout);
    98     pageLayout->addLayout(combinedTopLayout);
    93 
    99 
    94     label_description = new QLabel();
   100     label_description = new QLabel();
    95     label_description->setText(QLabel::tr("Description"));
   101     label_description->setText(QLabel::tr("Description"));
   237     else if(sizeof(void*) == 8)
   243     else if(sizeof(void*) == 8)
   238         compiler_bits += "x86_64\n";
   244         compiler_bits += "x86_64\n";
   239 
   245 
   240     // add everything to the field of text
   246     // add everything to the field of text
   241     description->setText(
   247     description->setText(
   242         "Don't forget to mention your email or you won't be able to receive updates on this topic!"
       
   243         "\n\n\n\n\n"
   248         "\n\n\n\n\n"
   244         "System information:\n"
   249         "System information:\n"
   245         + qt_version
   250         + qt_version
   246         + os_version
   251         + os_version
   247         + total_ram
   252         + total_ram