source: s10k/Vago/windowMessagesWizard/wmwizard.cpp@ 1098

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

Vago 1.4

File size: 1.2 KB
Line 
1#include "wmwizard.h"
2
3WmWizard::WmWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings)
4:AbstractWizard(appDir, workspaceWizardLocation, vagoSettings, true)
5{
6 this->bgImagesLocation=this->workspaceWizardLocation+"/WindowMessages";
7}
8
9void WmWizard::exec(){
10
11 WmSetupPage *setupPage = new WmSetupPage();
12 WmFormatPage *formatPage = new WmFormatPage();
13 WmFinalPage *finalPage = new WmFinalPage(this->appDir, this->bgImagesLocation, formatPage->getCurrentPages());
14
15 this->myWizard.addPage
16 (
17 createIntroPage
18 (
19 "Welcome to the Oni Window Messages Wizard.\n"
20 "This wizard will allow you to create in a few and simple steps Oni Window Messages (DPge, HPge etc).\n"
21 "This Window Messages are used to display information to the player in consoles, diary, help, item / weapon pages etc."
22 )
23 );
24 this->myWizard.addPage(setupPage);
25 this->myWizard.addPage(formatPage);
26 this->myWizard.addPage(finalPage);
27
28 showWizard("Window Messages Wizard", ":/new/icons/windowmessages.png");
29}
30
31void WmWizard::beforeClose(QDialog::DialogCode){
32
33}
Note: See TracBrowser for help on using the repository browser.