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

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

Vago 1.4

File size: 1.2 KB
RevLine 
[1054]1#include "bgimagewizard.h"
2
[1093]3BGImageWizard::BGImageWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings)
4:AbstractWizard(appDir, workspaceWizardLocation, vagoSettings, true)
[1054]5{
6 this->appDir = appDir;
7 this->workspaceWizardLocation=workspaceWizardLocation;
8 this->vagoSettings=vagoSettings;
9 this->bgImagesLocation=this->workspaceWizardLocation+"/BGImages";
10}
11
[1061]12void BGImageWizard::exec(){
[1054]13
[1093]14 BGImagePage2 *page2 = new BGImagePage2();
[1054]15 BGImagePage3 *page3 = new BGImagePage3();
[1093]16 BGImagePageFinal *pageFinal = new BGImagePageFinal(this->appDir, this->bgImagesLocation);
[1054]17
[1061]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
[1054]28 this->myWizard.addPage(page2);
29 this->myWizard.addPage(page3);
30 this->myWizard.addPage(pageFinal);
31
[1061]32 showWizard("Background Image Wizard", ":/new/icons/background_image.png");
[1054]33}
34
[1061]35void BGImageWizard::beforeClose(QDialog::DialogCode){
[1054]36
37}
Note: See TracBrowser for help on using the repository browser.