| 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 |     ui->lbAbout->setText("<html>"
 | 
|---|
| 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/>"
 | 
|---|
| 16 |                          "Neo for OniSplit<br />"
 | 
|---|
| 17 |                          "EdT for testing, suggestions and icon<br />"
 | 
|---|
| 18 |                          "Iritscen for testing, bugfixing and suggestions<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 |                          "Sergey A. Tachenov for the QuaZIP library<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 and text editing icons<br />"
 | 
|---|
| 33 |                          "qtiplot authors for line numbers in QTextEdit<br />"
 | 
|---|
| 34 |                          "d1vanov for basic-xml-syntax-highlighter class <br />"
 | 
|---|
| 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()
 | 
|---|
| 52 | {
 | 
|---|
| 53 |     delete ui;
 | 
|---|
| 54 | }
 | 
|---|
| 55 | 
 | 
|---|
| 56 | void About::on_pushButton_clicked()
 | 
|---|
| 57 | {
 | 
|---|
| 58 |     this->close();
 | 
|---|
| 59 | }
 | 
|---|