1 |
#include "about.h" |
2 |
#include "ui_about.h" |
3 |
|
4 |
About::About(QWidget *parent) : |
5 |
QDialog(parent), |
6 |
ui(new Ui::About) |
7 |
{ |
8 |
ui->setupUi(this); |
9 |
this->setAttribute(Qt::WA_DeleteOnClose,true ); //destroy itself once finished. |
10 |
this->layout()->setSizeConstraint( QLayout::SetFixedSize ); //fixed size |
11 |
ui->lbAbout->setOpenExternalLinks(true); //allow navigate to oni central |
12 |
ui->lbAbout->setText("<html>" |
13 |
"<b>Vago GUI "+GlobalVars::AppVersion+"</b>" |
14 |
"<p style='font-size:small;'>" |
15 |
"Written by s10k<br /><br/>" |
16 |
"Build Date " + __DATE__ + " " + __TIME__ + "<br /><br />" |
17 |
"Thanks to:<br/>" |
18 |
"Neo for OniSplit<br />" |
19 |
"EdT for testing, suggestions and icon<br />" |
20 |
"Iritscen for testing, bugfixing and suggestions<br />" |
21 |
"demos_kratos for original OniSplit GUI<br />" |
22 |
"Samer/Mukade/EdT for allow me to use Jubei as icon<br />" |
23 |
"Alloc for AIE2 and support<br />" |
24 |
"Paradox for Sound documentation and testing<br />" |
25 |
"Wiki contributors for the documentation<br />" |
26 |
"AE contributors<br />" |
27 |
"and in general to all OniCentral Community<br /><br/>" |
28 |
"Also thanks to: <br />" |
29 |
"StackOverflow Community<br />" |
30 |
"Sergey A. Tachenov for the QuaZIP library<br />" |
31 |
"Antonio Borondo for the documentation how to setup QuaZIP<br />" |
32 |
"Arseny Kapoulkine (and contributors)for pugixml library<br />" |
33 |
"smashingmagazine for the folder icon :)<br />" |
34 |
"<center>" |
35 |
"Visit us at:<br />" |
36 |
"<a href='http://oni.bungie.org'>" |
37 |
"oni.bungie.org" |
38 |
"</center>" |
39 |
"</a>" |
40 |
"</p>" |
41 |
"</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code |
42 |
} |
43 |
|
44 |
About::~About() |
45 |
{ |
46 |
delete ui; |
47 |
} |
48 |
|
49 |
void About::on_pushButton_clicked() |
50 |
{ |
51 |
this->close(); |
52 |
} |