source: s10k/Vago/packageWizard/packagepagefinal.cpp@ 1154

Last change on this file since 1154 was 790, checked in by s10k, 12 years ago

Some updates in 0.8 version related with Mac OS. They should improve the application on Mac.

File size: 1.5 KB
Line 
1#include "packagepagefinal.h"
2#include "ui_packagepagefinal.h"
3
4PackagePageFinal::PackagePageFinal(QSettings *vagoSettings, QWidget *parent) :
5 QWizardPage(parent),
6 ui(new Ui::PackagePageFinal)
7{
8 ui->setupUi(this);
9 this->setTitle("Finished");
10
11 ui->lbComplete->setText("<html>"
12 "The wizard is now complete. The package will be created when you click in finish.<br/>"
13 "After that you can upload the package to <a href='http://"+GlobalVars::ModsDomain+"'>"
14 +GlobalVars::ModsDomain+"</a> to get your mod listed in the AEI."
15 "</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code
16
17 ui->lbComplete->setOpenExternalLinks(true); //allow navigate to mod depot
18
19 //Default checkboxes values
20 if(!vagoSettings->contains("PackageCreator/OpenFolder")){
21 vagoSettings->setValue("PackageCreator/OpenFolder", true);
22 }
23 if(!vagoSettings->contains("PackageCreator/CreateZip")){
24 vagoSettings->setValue("PackageCreator/CreateZip",true);
25 }
26
27 //remember them next time
28 ui->cbOpenFolder->setChecked(vagoSettings->value("PackageCreator/OpenFolder").toBool());
29 ui->cbCreateZip->setChecked(vagoSettings->value("PackageCreator/CreateZip").toBool());
30 registerField("cbOpenFolder", ui->cbOpenFolder);
31 registerField("cbCreateZip", ui->cbCreateZip);
32}
33
34PackagePageFinal::~PackagePageFinal()
35{
36 delete ui;
37}
Note: See TracBrowser for help on using the repository browser.