equal
deleted
inserted
replaced
19 #include <QGridLayout> |
19 #include <QGridLayout> |
20 #include <QSvgWidget> |
20 #include <QSvgWidget> |
21 #include <QLabel> |
21 #include <QLabel> |
22 #include <QTextBrowser> |
22 #include <QTextBrowser> |
23 #include "about.h" |
23 #include "about.h" |
|
24 #include "hwconsts.h" |
24 |
25 |
25 About::About(QWidget * parent) : |
26 About::About(QWidget * parent) : |
26 QWidget(parent) |
27 QWidget(parent) |
27 { |
28 { |
28 QGridLayout *mainLayout = new QGridLayout(this); |
29 QGridLayout *mainLayout = new QGridLayout(this); |
32 |
33 |
33 QLabel *lbl1 = new QLabel(this); |
34 QLabel *lbl1 = new QLabel(this); |
34 |
35 |
35 lbl1->setOpenExternalLinks(true); |
36 lbl1->setOpenExternalLinks(true); |
36 lbl1->setText( |
37 lbl1->setText( |
37 "<div align=\"center\"><h1>Hedgewars</h1>" + |
38 "<div align=\"center\"><h1>Hedgewars</h1>" |
38 QLabel::tr("<h3>Version 0.9.3</h3>") + |
39 "<h3>" + QLabel::tr("Version") + " " + *cVersionString + "</h3>" |
39 "<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" + |
40 "<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" + |
40 QLabel::tr("This program is distributed under the GNU General Public License") + |
41 QLabel::tr("This program is distributed under the GNU General Public License") + |
41 "</div>" |
42 "</div>" |
42 ); |
43 ); |
43 lbl1->setWordWrap(true); |
44 lbl1->setWordWrap(true); |