source: s10k/Vago/soundWizard/soundwizard.cpp@ 1174

Last change on this file since 1174 was 1093, checked in by s10k, 7 years ago

Vago 1.4

File size: 1.3 KB
RevLine 
[771]1#include "soundwizard.h"
2
[1093]3SoundWizard::SoundWizard(QString appDir, QString workspaceWizardLocation, QSettings *vagoSettings, QHash<QString, QString> *commandMap)
4 :AbstractWizard(appDir, workspaceWizardLocation, vagoSettings, true)
[771]5{
[1061]6 this->appDir=appDir;
[771]7 this->soundsLocation=this->workspaceWizardLocation+"/Sounds";
8 this->commandMap=commandMap;
9}
[1061]10void SoundWizard::exec(){
[771]11
[1061]12 SoundPage2 *page2 = new SoundPage2(this->appDir);
[771]13 SoundPage3 *page3 = new SoundPage3();
14 SoundPage4 *page4 = new SoundPage4();
[1054]15 SoundPage5 *page5 = new SoundPage5();
[1093]16 SoundPageFinal *pageFinal = new SoundPageFinal(this->appDir, this->soundsLocation,page2->soundTable, this->commandMap);
[771]17
[1061]18 this->myWizard.addPage
19 (
20 createIntroPage
21 (
22 "Welcome to the Oni Sound wizard.\n"
23 "This wizard will allow you to convert in a few and simple steps sounds to oni format."
24 )
25 );
26
[1054]27 this->myWizard.addPage(page2);
28 this->myWizard.addPage(page3);
29 this->myWizard.addPage(page4);
30 this->myWizard.addPage(page5);
31 this->myWizard.addPage(pageFinal);
[771]32
[1054]33 this->myWizard.setWindowTitle("Sound wizard");
[771]34
[1061]35 showWizard("Sound wizard", ":/new/icons/sound.png");
[771]36}
37
[1061]38void SoundWizard::beforeClose(QDialog::DialogCode){
[771]39
40}
Note: See TracBrowser for help on using the repository browser.