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