ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/windowMessagesWizard/wmfinalpage.h
Revision: 1093
Committed: Sat Dec 30 13:57:32 2017 UTC (7 years, 9 months ago) by s10k
Content type: text/x-chdr
File size: 1131 byte(s)
Log Message:
Vago 1.4

File Contents

# Content
1 #ifndef WMFINALPAGE_H
2 #define WMFINALPAGE_H
3
4 #include <QWizardPage>
5 #include <QDesktopServices>
6 #include <QUrl>
7 #include <droptablewidget.h>
8 #include <pugixml/pugixml.hpp>
9
10 #include "xmlprocessor.h"
11 #include "converter.h"
12 #include "wmpage.h"
13 #include "wmsetuppage.h"
14
15 namespace Ui {
16 class wmfinalpage;
17 }
18
19 class WmFinalPage : public QWizardPage
20 {
21 Q_OBJECT
22
23 public:
24 explicit WmFinalPage(QString AppDir, QString wmLocation, QList<std::shared_ptr<WmPage> > &pages, QWidget *parent = 0);
25 ~WmFinalPage();
26
27 private:
28 QString wmLocation;
29 Ui::wmfinalpage *ui;
30 Converter *myConverter;
31 QStringList *oniSplitCommands;
32 // We use shared_ptr because we need the signal and slot mechanism in WmPage,
33 // which require inheritance from QObject, which doesn't support copy constructors
34 QList<std::shared_ptr<WmPage>> &pages;
35
36 private:
37 void initializePage();
38 void startProcessing();
39 void connectSlots();
40
41 private slots:
42 void openSoundsFolder();
43 void catchOSplitProcessingErrors(QString result, int numErrors);
44 };
45
46 #endif // WMFINALPAGE_H