7e7d500a6d9e1bd20ed5210d63d250facfae25f1
[aspt.git] / abouttab.cc
1 /*******************************************************************
2 Jan Cermak | johniez | aspt.johniez.com
3 Creative Commons 2.5 Attribution-NonCommercial-NoDerivs 2.5 license
4 http://creativecommons.org/licenses/by-nc-nd/2.5/legalcode
5 *******************************************************************/
6
7 #include "abouttab.h"
8
9 AboutTab::AboutTab(QWidget *parent) : QWidget(parent) {
10         init();
11 }
12
13 AboutTab::~AboutTab() {
14         delete label;
15         delete mainLayout;
16 }
17
18 void AboutTab::init() {
19         mainLayout = new QVBoxLayout;
20         QString text;
21         text = "<h3>Another SoccerProject Tool</h3>";
22         text += "v 0.2.7 | 23.12.2007<br><br>";
23         text += "johniez | <a href=\"http://aspt.johniez.com\">aspt homepage</a>";
24         text += "<hr>";
25         text += "<b>" + tr("Translators") + ":</b><br>";
26         text += "UniCool [RO]<br>";
27         text += "Gladiator [PL]<br>";
28         text += "arsportas [LT]<br>";
29         text += "<hr>";
30         text += "<a href=\"http://creativecommons.org/licenses/by-nc-nd/2.5/legalcode\">Creative Commons 2.5 Attribution-NonCommercial-NoDerivs 2.5 license</a>";
31         label = new QLabel(text);
32         mainLayout->addWidget(label);
33         setLayout(mainLayout);
34 }