source: s10k/Vago/bgImageWizard/bgimagewizard.cpp@ 1194

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

Vago 1.4

File size: 1.2 KB
Line 
1#include "bgimagewizard.h"
2
3BGImageWizard::BGImageWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings)
4:AbstractWizard(appDir, workspaceWizardLocation, vagoSettings, true)
5{
6 this->appDir = appDir;
7 this->workspaceWizardLocation=workspaceWizardLocation;
8 this->vagoSettings=vagoSettings;
9 this->bgImagesLocation=this->workspaceWizardLocation+"/BGImages";
10}
11
12void BGImageWizard::exec(){
13
14 BGImagePage2 *page2 = new BGImagePage2();
15 BGImagePage3 *page3 = new BGImagePage3();
16 BGImagePageFinal *pageFinal = new BGImagePageFinal(this->appDir, this->bgImagesLocation);
17
18 this->myWizard.addPage
19 (
20 createIntroPage
21 (
22 "Welcome to the Oni Background Image Wizard.\n"
23 "This wizard will allow you to create in a few and simple steps Oni background images (TXMB) "
24 "that can be used in the menus or as backgrounds screens for the levels."
25 )
26 );
27
28 this->myWizard.addPage(page2);
29 this->myWizard.addPage(page3);
30 this->myWizard.addPage(pageFinal);
31
32 showWizard("Background Image Wizard", ":/new/icons/background_image.png");
33}
34
35void BGImageWizard::beforeClose(QDialog::DialogCode){
36
37}
Note: See TracBrowser for help on using the repository browser.