QTfrontend/about.cpp
changeset 1897 e9dcb47013c7
parent 1796 4bcdf0bf58b8
child 1949 9f3ea865f00c
equal deleted inserted replaced
1896:fdacad5d0acc 1897:e9dcb47013c7
    33 
    33 
    34 	QLabel *lbl1 = new QLabel(this);
    34 	QLabel *lbl1 = new QLabel(this);
    35 
    35 
    36 	lbl1->setOpenExternalLinks(true);
    36 	lbl1->setOpenExternalLinks(true);
    37 	lbl1->setText(
    37 	lbl1->setText(
       
    38             "<style type=\"text/css\">"
       
    39             "a { color: #ffcc00; }"
       
    40 //            "a:hover { color: yellow; }"
       
    41             "</style>" 
    38 			"<div align=\"center\"><h1>Hedgewars</h1>"
    42 			"<div align=\"center\"><h1>Hedgewars</h1>"
    39 			"<h3>" + QLabel::tr("Version") + " " + *cVersionString + "</h3>"
    43 			"<h3>" + QLabel::tr("Version") + " " + *cVersionString + "</h3>"
    40 			"<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" +
    44 			"<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" +
    41 			QLabel::tr("This program is distributed under the GNU General Public License") +
    45 			QLabel::tr("This program is distributed under the GNU General Public License") +
    42 			"</div>"
    46 			"</div>"
    45 	mainLayout->addWidget(lbl1, 0, 1);
    49 	mainLayout->addWidget(lbl1, 0, 1);
    46 
    50 
    47 	QTextBrowser *lbl2 = new QTextBrowser(this);
    51 	QTextBrowser *lbl2 = new QTextBrowser(this);
    48 
    52 
    49 	lbl2->setOpenExternalLinks(true);
    53 	lbl2->setOpenExternalLinks(true);
    50 	lbl2->setText(  QString("<h2>") +
    54 	lbl2->setText(
       
    55             "<style type=\"text/css\">"
       
    56             "a { color: #ffcc00; }"
       
    57 //            "a:hover { color: yellow; }"
       
    58             "</style>" +
       
    59             QString("<h2>") +
    51 			QLabel::tr("Developers:") +
    60 			QLabel::tr("Developers:") +
    52 			"</h2><p>"
    61 			"</h2><p>"
    53 			"Engine, frontend, net server: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    62 			"Engine, frontend, net server: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    54 			"Many frontend improvements: Igor Ulyanov &lt;<a href=\"mailto:disinbox@gmail.com\">disinbox@gmail.com</a>&gt;<br>"
    63 			"Many frontend improvements: Igor Ulyanov &lt;<a href=\"mailto:disinbox@gmail.com\">disinbox@gmail.com</a>&gt;<br>"
    55 			"Drill rocket, Ballgun, RC Plane weapons: Martin Boze &lt;<a href=\"mailto:afffect@gmail.com\">afffect@gmail.com</a>&gt;"
    64 			"Drill rocket, Ballgun, RC Plane weapons: Martin Boze &lt;<a href=\"mailto:afffect@gmail.com\">afffect@gmail.com</a>&gt;"