Rev | Line | |
---|
[1061] | 1 | #ifndef WMFINALPAGE_H
|
---|
| 2 | #define WMFINALPAGE_H
|
---|
| 3 |
|
---|
| 4 | #include <QWizardPage>
|
---|
| 5 | #include <QDesktopServices>
|
---|
| 6 | #include <QUrl>
|
---|
| 7 | #include <droptablewidget.h>
|
---|
[1093] | 8 | #include <pugixml/pugixml.hpp>
|
---|
[1061] | 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:
|
---|
[1093] | 24 | explicit WmFinalPage(QString AppDir, QString wmLocation, QList<std::shared_ptr<WmPage> > &pages, QWidget *parent = 0);
|
---|
[1061] | 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.