1 |
#ifndef SOUNDPAGEFINAL_H |
2 |
#define SOUNDPAGEFINAL_H |
3 |
|
4 |
#include <QWizardPage> |
5 |
#include <QDesktopServices> |
6 |
#include <QUrl> |
7 |
#include <droptablewidget.h> |
8 |
|
9 |
#include "xmlprocessor.h" |
10 |
#include "converter.h" |
11 |
|
12 |
namespace Ui { |
13 |
class soundpagefinal; |
14 |
} |
15 |
|
16 |
class SoundPageFinal : public QWizardPage |
17 |
{ |
18 |
Q_OBJECT |
19 |
|
20 |
public: |
21 |
explicit SoundPageFinal(QString AppDir, QString soundsLocation, DropTableWidget *page2Table, QHash<QString, QString> *commandMap, QWidget *parent = 0); |
22 |
~SoundPageFinal(); |
23 |
|
24 |
private: |
25 |
QString soundsLocation; |
26 |
Ui::soundpagefinal *ui; |
27 |
DropTableWidget *page2Table; |
28 |
XmlProcessor *myXmlProcessor; |
29 |
Converter *myConverter; |
30 |
QStringList *xmlCommands; |
31 |
QStringList *oniSplitCommands; |
32 |
QHash<QString, QString> *commandMap; |
33 |
|
34 |
void initializePage(); |
35 |
void startProcessing(); |
36 |
void connectSlots(); |
37 |
|
38 |
private slots: |
39 |
void openSoundsFolder(); |
40 |
void catchXmlAndOSplitProcessingError(QString result, int numErrors); |
41 |
}; |
42 |
|
43 |
#endif // SOUNDPAGEFINAL_H |