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 |
"Thanks to:<br/>" |
17 |
"Neo for OniSplit<br />" |
18 |
"EdT for testing, suggestions and icon<br />" |
19 |
"demos_kratos for original OniSplit GUI<br />" |
20 |
"Samer/Mukade/EdT for allow me to use Jubei as icon<br />" |
21 |
"Alloc for AIE2 and support<br />" |
22 |
"Paradox for Sound documentation and testing<br />" |
23 |
"Wiki contributors for the documentation<br />" |
24 |
"AE contributors<br />" |
25 |
"and in general to all OniCentral Community<br /><br/>" |
26 |
"Also thanks to: <br />" |
27 |
"StackOverflow Community<br />" |
28 |
"Fabrizio Angius for PKZIP 2.0 for zip handling<br />" |
29 |
"smashingmagazine for the folder icon :)<br />" |
30 |
"<center>" |
31 |
"Visit us at:<br />" |
32 |
"<a href='http://oni.bungie.org'>" |
33 |
"oni.bungie.org" |
34 |
"</center>" |
35 |
"</a>" |
36 |
"</p>" |
37 |
"</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code |
38 |
} |
39 |
|
40 |
About::~About() |
41 |
{ |
42 |
delete ui; |
43 |
} |
44 |
|
45 |
void About::on_pushButton_clicked() |
46 |
{ |
47 |
this->close(); |
48 |
} |