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 |
10 |
|
ui->lbAbout->setText("<html>" |
11 |
< |
"<b>Vago GUI "+GlobalVars::AppVersion+"</b>" |
12 |
< |
"<p style='font-size:small;'>" |
11 |
> |
"<p style='font-size:x-large;'><b>Vago GUI " + GlobalVars::AppVersion + "</b></p>" |
12 |
> |
"<p style='font-size:large;line-height: 18px;'>" |
13 |
|
"Written by s10k<br /><br/>" |
14 |
|
"Build Date " + __DATE__ + " " + __TIME__ + "<br /><br />" |
15 |
|
"Thanks to:<br/>" |
29 |
|
"Antonio Borondo for the documentation how to setup QuaZIP<br />" |
30 |
|
"Arseny Kapoulkine (and contributors)for pugixml library<br />" |
31 |
|
"smashingmagazine for the folder icon :)<br />" |
32 |
< |
"Freepik and Flaticon by the background image wizard icon<br />" |
32 |
> |
"Freepik and Flaticon by the background image wizard and text editing icons<br />" |
33 |
|
"qtiplot authors for line numbers in QTextEdit<br />" |
34 |
|
"d1vanov for basic-xml-syntax-highlighter class <br />" |
37 |
– |
"<center>" |
38 |
– |
"Visit us at:<br />" |
39 |
– |
"<a href='http://oni.bungie.org'>" |
40 |
– |
"oni.bungie.org" |
41 |
– |
"</center>" |
42 |
– |
"</a>" |
35 |
|
"</p>" |
36 |
|
"</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code |
37 |
+ |
|
38 |
+ |
ui->lbOniCommunity->setText("<html>" |
39 |
+ |
"<p style='font-size:large;'>" |
40 |
+ |
"<center>" |
41 |
+ |
"Visit us at:<br />" |
42 |
+ |
"<a href='http://oni.bungie.org'>" |
43 |
+ |
"oni.bungie.org" |
44 |
+ |
"</a>" |
45 |
+ |
"</center>" |
46 |
+ |
"</p>" |
47 |
+ |
"</html>" |
48 |
+ |
); |
49 |
|
} |
50 |
|
|
51 |
|
About::~About() |