# HG changeset patch # User unc0rr # Date 1163439836 0 # Node ID 28903e620258579214128ecd912583a80259b70f # Parent 4040a1cbb0eebe56d5d5b60a9a03c530037dc83b About page diff -r 4040a1cbb0ee -r 28903e620258 QTfrontend/about.cpp --- a/QTfrontend/about.cpp Sun Nov 12 22:38:31 2006 +0000 +++ b/QTfrontend/about.cpp Mon Nov 13 17:43:56 2006 +0000 @@ -18,6 +18,7 @@ #include <QGridLayout> #include <QSvgWidget> +#include <QLabel> #include "about.h" About::About(QWidget * parent) : @@ -26,5 +27,33 @@ QGridLayout *mainLayout = new QGridLayout(this); QSvgWidget *hedgehog = new QSvgWidget(":/res/Hedgehog.svg", this); hedgehog->setFixedSize(300, 329); - mainLayout->addWidget(hedgehog); + mainLayout->addWidget(hedgehog, 0, 0, 2, 1); + + QLabel *lbl1 = new QLabel(this); + + lbl1->setOpenExternalLinks(true); + lbl1->setText( + "<div align=\"center\"><h1>Hedgewars</h1>" + "<h3>Version 0.8</h3>" + "<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" + "This program is distributed under the GNU General Public License" + "</div>" + ); + lbl1->setWordWrap(true); + mainLayout->addWidget(lbl1, 0, 1); + + QLabel *lbl2 = new QLabel(this); + + lbl2->setOpenExternalLinks(true); + lbl2->setText( + "<h2>Developers:</h2><p>" + "Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>><br>" + "Igor Ulyanov <<a href=\"mailto:iulyanov@gmail.com\">iulyanov@gmail.com</a>>" + "</p>" + "<h2>Translations:</h2>" + "english: Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>><br>" + "russian: Andrey Korotaev <<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>>" + ); + lbl2->setWordWrap(true); + mainLayout->addWidget(lbl2, 1, 1); }