| 241 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 242 |  | void MainWindow::on_actionAE_Package_Creator_triggered() | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 243 |  | { | 
 
 
 
 
 
 
 
 
 
 
 | 244 | < | PackageWizard myWizard = PackageWizard(this->workspaceWizardsLocation, this->vagoSettings, this->myLogger); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 245 | < | myWizard.exec(); | 
 
 
 
 
 
 
 
 
 | 244 | > | // it deletes itself once closed | 
 
 
 
 
 | 245 | > | WizardFactory<PackageWizard>::startInstance(UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger); | 
 
 
 
 
 
 
 
 
 
 
 | 246 |  | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 247 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 248 |  | void MainWindow::on_actionSound_Wizard_triggered() | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 249 |  | { | 
 
 
 
 
 
 
 
 
 
 
 | 250 | < | SoundWizard myWizard (UtilVago::getAppPath(), this->workspaceWizardsLocation, this->myLogger, &this->commandMap); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 251 | < | myWizard.exec(); | 
 
 
 
 
 
 
 
 
 | 250 | > | // it deletes itself once closed | 
 
 
 
 
 | 251 | > | WizardFactory<SoundWizard>::startInstance(UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger, &this->commandMap); | 
 
 
 
 
 
 
 
 
 
 
 | 252 |  | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 253 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 254 |  | void MainWindow::on_actionBackground_Image_Wizard_triggered() | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 255 |  | { | 
 
 
 
 
 
 
 
 
 
 
 | 256 | < | BGImageWizard myWizard (UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 257 | < | myWizard.exec(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 256 | > | // it deletes itself once closed | 
 
 
 
 
 | 257 | > | WizardFactory<BGImageWizard>::startInstance(UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger); | 
 
 
 
 
 | 258 | > | } | 
 
 
 
 
 | 259 | > |  | 
 
 
 
 
 | 260 | > | void MainWindow::on_actionWindow_Messages_Wizard_triggered() | 
 
 
 
 
 | 261 | > | { | 
 
 
 
 
 | 262 | > | // it deletes itself once closed | 
 
 
 
 
 | 263 | > | WizardFactory<WmWizard>::startInstance(UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger); | 
 
 
 
 
 
 
 
 
 
 
 | 264 |  | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 265 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 266 |  | void MainWindow::on_tbOni_clicked() | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 562 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 563 |  | QString command=this->commandMap.value(tabTitle+"->"+from+"->"+to)+" "+myOutputFolder; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 564 |  |  | 
 
 
 
 
 
 
 
 
 | 559 | – | //TODO: This can be optimized. When some are not enable others are. | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 565 |  | if(ui->cbTexture->isChecked()){ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 566 |  | if(ui->leTextureName->text().isEmpty()){ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 567 |  | showErrStatusMessage("Checkbox '"+ui->cbTexture->text()+"' is selected. The file source cannot be empty."); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 983 |  | ui->cbCellShading->setChecked(false); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 984 |  | ui->cbNormals->setEnabled(false); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 985 |  | ui->cbNormals->setChecked(false); | 
 
 
 
 
 
 
 
 
 
 
 | 986 | < |  | 
 
 
 
 
 
 
 
 
 | 986 | > | //#error add drag and drop to Extract TRAM with TRBS/ONCC | 
 
 
 
 
 
 
 
 
 
 
 | 987 |  | if(QString::compare(arg1,"TRAM ONI",Qt::CaseSensitive)==0){ //case sensitive is faster | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 988 |  | ui->cbWithTRBS_ONCC->setEnabled(true); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 989 |  | } |