| 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 | 
                          "Freepik and Flaticon by the background image wizard icon<br />" | 
 
 
 
 
 
 | 35 | 
                          "<center>" | 
 
 
 
 
 
 | 36 | 
                          "Visit us at:<br />" | 
 
 
 
 
 
 | 37 | 
                          "<a href='http://oni.bungie.org'>" | 
 
 
 
 
 
 | 38 | 
                          "oni.bungie.org" | 
 
 
 
 
 
 | 39 | 
                          "</center>" | 
 
 
 
 
 
 | 40 | 
                          "</a>" | 
 
 
 
 
 
 | 41 | 
                          "</p>" | 
 
 
 
 
 
 | 42 | 
                          "</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code | 
 
 
 
 
 
 | 43 | 
 } | 
 
 
 
 
 
 | 44 | 
  | 
 
 
 
 
 
 | 45 | 
 About::~About() | 
 
 
 
 
 
 | 46 | 
 { | 
 
 
 
 
 
 | 47 | 
     delete ui; | 
 
 
 
 
 
 | 48 | 
 } | 
 
 
 
 
 
 | 49 | 
  | 
 
 
 
 
 
 | 50 | 
 void About::on_pushButton_clicked() | 
 
 
 
 
 
 | 51 | 
 { | 
 
 
 
 
 
 | 52 | 
     this->close(); | 
 
 
 
 
 
 | 53 | 
 } |