author | unc0rr |
Thu, 08 Jan 2009 15:53:51 +0000 | |
changeset 1606 | 5d270db8be9e |
parent 1467 | b288aea6b3d2 |
child 1661 | 08c6e3665025 |
permissions | -rw-r--r-- |
187 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
883 | 3 |
* Copyright (c) 2006-2008 Andrey Korotaev <unC0Rr@gmail.com> |
187 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*/ |
|
18 |
||
221 | 19 |
#include <QGridLayout> |
20 |
#include <QSvgWidget> |
|
235 | 21 |
#include <QLabel> |
460 | 22 |
#include <QTextBrowser> |
187 | 23 |
#include "about.h" |
907 | 24 |
#include "hwconsts.h" |
187 | 25 |
|
26 |
About::About(QWidget * parent) : |
|
27 |
QWidget(parent) |
|
28 |
{ |
|
221 | 29 |
QGridLayout *mainLayout = new QGridLayout(this); |
30 |
QSvgWidget *hedgehog = new QSvgWidget(":/res/Hedgehog.svg", this); |
|
31 |
hedgehog->setFixedSize(300, 329); |
|
235 | 32 |
mainLayout->addWidget(hedgehog, 0, 0, 2, 1); |
33 |
||
34 |
QLabel *lbl1 = new QLabel(this); |
|
35 |
||
36 |
lbl1->setOpenExternalLinks(true); |
|
37 |
lbl1->setText( |
|
907 | 38 |
"<div align=\"center\"><h1>Hedgewars</h1>" |
39 |
"<h3>" + QLabel::tr("Version") + " " + *cVersionString + "</h3>" |
|
236 | 40 |
"<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") + |
|
235 | 42 |
"</div>" |
43 |
); |
|
44 |
lbl1->setWordWrap(true); |
|
45 |
mainLayout->addWidget(lbl1, 0, 1); |
|
46 |
||
460 | 47 |
QTextBrowser *lbl2 = new QTextBrowser(this); |
235 | 48 |
|
49 |
lbl2->setOpenExternalLinks(true); |
|
623 | 50 |
lbl2->setText( QString("<h2>") + |
51 |
QLabel::tr("Developers:") + |
|
52 |
"</h2><p>" |
|
1606 | 53 |
"Engine, frontend, net server: Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>><br>" |
54 |
"Many frontend improvements: Igor Ulyanov <<a href=\"mailto:disinbox@gmail.com\">disinbox@gmail.com</a>><br>" |
|
55 |
"Drill rocket and Ballgun weapons: Martin Boze <<a href=\"mailto:afffect@gmail.com\">afffect@gmail.com</a>>" |
|
623 | 56 |
"</p><h2>" + |
1029 | 57 |
|
872 | 58 |
QLabel::tr("Art:") + "</h2>" |
1177 | 59 |
+ QString::fromUtf8( |
1208
9f4704f3c6ea
Add Sheep theme by Julien Koesten. Will be slightly corrected a bit later.
unc0rr
parents:
1205
diff
changeset
|
60 |
"<p>All sprites, all themes except for mentioned below: Finn Brice <<a href=\"mailto:tiyuri@gmail.com\">tiyuri@gmail.com</a>>" |
872 | 61 |
"<br>" |
1229 | 62 |
"\"Bamboo\", \"EarthRise\", \"Freeway\" maps and themes: Joshua Frese <<a href=\"mailto:joshfrese@gmail.com\">joshfrese@gmail.com</a>>" |
1177 | 63 |
"<br>" |
1228 | 64 |
"\"Castle\", \"PirateFlag\" maps, \"hell\" theme: Stanko Tadić <<a href=\"mailto:stanko@mfhinc.net\">stanko@mfhinc.net</a>>" |
1208
9f4704f3c6ea
Add Sheep theme by Julien Koesten. Will be slightly corrected a bit later.
unc0rr
parents:
1205
diff
changeset
|
65 |
"<br>" |
1220 | 66 |
"\"Sheep\" theme: Julien Koesten <<a href=\"mailto:julienkoesten@aol.com\">julienkoesten@aol.com</a>>" |
1177 | 67 |
"</p><h2>") + |
1029 | 68 |
|
1100 | 69 |
QLabel::tr("Sounds:") + "</h2>" |
1119 | 70 |
"Hedgehogs voice: Stephen Alexander <<a href=\"mailto:ArmagonNo1@gmail.com\">ArmagonNo1@gmail.com</a>>" |
1100 | 71 |
"<br>" |
1134 | 72 |
"\"Nature\" music theme: Finn Brice <<a href=\"mailto:tiyuri@gmail.com\">tiyuri@gmail.com</a>>" |
1100 | 73 |
"<br>" |
1134 | 74 |
"\"Pirate\", \"City\", \"Oriental\", \"Snow\" music themes: Jonatan Nilsson <<a href=\"mailto:jonatanfan@gmail.com\">jonatanfan@gmail.com</a>>" |
1100 | 75 |
"</p><h2>" + |
76 |
||
623 | 77 |
QLabel::tr("Translations:") + "</h2><p>" |
1052 | 78 |
+ QString::fromUtf8( |
1380
f3bdfe2452f2
Mention Romulo Fernandes Machado on about page for Brazilian Portuguese translation
unc0rr
parents:
1287
diff
changeset
|
79 |
"Brazilian Portuguese: Romulo Fernandes Machado <<a href=\"mailto:abra185@gmail.com\">abra185@gmail.com</a>><br>" |
1030 | 80 |
"Bulgarian: Svetoslav Stefanov<br>" |
1429 | 81 |
"Czech: Petr Řezáček <<a href=\"mailto:rezacek@gmail.com\">rezacek@gmail.com</a>><br>" |
1030 | 82 |
"English: Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>><br>" |
1052 | 83 |
"French: Antoine Turmel <<a href=\"mailto:geekshadow@gmail.com\">geekshadow@gmail.com</a>><br>" |
84 |
"German: Peter Hüwe <<a href=\"mailto:PeterHuewe@gmx.de\">PeterHuewe@gmx.de</a>><br>" |
|
1030 | 85 |
"Italian: Luca Bonora <<a href=\"mailto:bonora.luca@gmail.com\">bonora.luca@gmail.com</a>><br>" |
1467 | 86 |
"Polish: Maciej Mroziński <<a href=\"mailto:mynick2@o2.pl\">mynick2@o2.pl</a>>, Wojciech Latkowski <<a href=\"mailto:magik_15l@poczta.fm\">magik_15l@poczta.fm</a>><br>" |
1030 | 87 |
"Russian: Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>><br>" |
1203
7a7a2fd6a3af
Mention Niklas Grahn for his translation on about page
unc0rr
parents:
1177
diff
changeset
|
88 |
"Slovak: Jose Riha<br>" |
1247 | 89 |
"Spanish: Carlos Vives <<a href=\"mailto:mail@carlosvives.es\">mail@carlosvives.es</a>><br>" |
1264
e8ac58bbd10f
Mention Eugene Lyubimkin in translators list for his Ukrainian translation
unc0rr
parents:
1247
diff
changeset
|
90 |
"Swedish: Niklas Grahn <<a href=\"mailto:raewolusjoon@yaoo.com\">raewolusjoon@yaoo.com</a>><br>" |
1287 | 91 |
"Ukrainian: Eugene V. Lyubimkin <<a href=\"mailto:jackyf.devel@gmail.com\">jackyf.devel@gmail.com</a>>" |
1052 | 92 |
"</p><h2>") + |
1029 | 93 |
|
623 | 94 |
QLabel::tr("Special thanks:") + "</h2><p>" |
243 | 95 |
"Aleksey Andreev <<a href=\"mailto:blaknayabr@gmail.com\">blaknayabr@gmail.com</a>><br>" |
426 | 96 |
"Aleksander Rudalev <<a href=\"mailto:alexv@pomorsu.ru\">alexv@pomorsu.ru</a>><br>" |
479 | 97 |
"Natasha Stafeeva <<a href=\"mailto:layout@pisem.net\">layout@pisem.net</a>><br>" |
98 |
"Adam Higerd (aka ahigerd at FreeNode)" |
|
460 | 99 |
"</p>" |
235 | 100 |
); |
460 | 101 |
mainLayout->addWidget(lbl2, 1, 1); |
187 | 102 |
} |