| 1 |
|
#include "soundpagefinal.h" |
| 2 |
|
#include "ui_soundpagefinal.h" |
| 3 |
|
|
| 4 |
< |
SoundPageFinal::SoundPageFinal(QString soundsLocation, DropTableWidget *page2Table, Logger *myLogger, QHash<QString, QString> *commandMap, QWidget *parent) : |
| 4 |
> |
SoundPageFinal::SoundPageFinal(QString AppDir, QString soundsLocation, DropTableWidget *page2Table, Logger *myLogger, QHash<QString, QString> *commandMap, QWidget *parent) : |
| 5 |
|
QWizardPage(parent), |
| 6 |
|
ui(new Ui::soundpagefinal) |
| 7 |
|
{ |
| 13 |
|
|
| 14 |
|
this->xmlCommands = new QStringList(); |
| 15 |
|
this->oniSplitCommands = new QStringList(); |
| 16 |
< |
this->myXmlProcessor = new XmlProcessor(this->myLogger,this->xmlCommands); |
| 17 |
< |
this->myConverter = new Converter(this->myLogger,this->oniSplitCommands); |
| 16 |
> |
this->myXmlProcessor = new XmlProcessor(AppDir, this->myLogger,this->xmlCommands); |
| 17 |
> |
this->myConverter = new Converter(AppDir, this->myLogger,this->oniSplitCommands); |
| 18 |
> |
|
| 19 |
> |
ui->lbComplete->setText("<html>The wizard is now complete. The sounds have been converted. " |
| 20 |
> |
"You can view all converted files clicking <a href=' '>here.</a><br />" |
| 21 |
> |
"<br />Click restart to create more sounds from the wizard beggining," |
| 22 |
> |
"otherwise click finish.</html>"); // Don't use rich text in qtdesigner because it generates platform dependent code |
| 23 |
|
|
| 24 |
|
connectSlots(); |
| 25 |
|
} |