| 1 | 
 #ifndef SOUNDPAGE2_H | 
 
 
 
 
 
 | 2 | 
 #define SOUNDPAGE2_H | 
 
 
 
 
 
 | 3 | 
  | 
 
 
 
 
 
 | 4 | 
 #include <QWizardPage> | 
 
 
 
 
 
 | 5 | 
 #include <droptablewidget.h> | 
 
 
 
 
 
 | 6 | 
  | 
 
 
 
 
 
 | 7 | 
 #include "util.h" | 
 
 
 
 
 
 | 8 | 
  | 
 
 
 
 
 
 | 9 | 
 namespace Ui { | 
 
 
 
 
 
 | 10 | 
 class soundpage2; | 
 
 
 
 
 
 | 11 | 
 } | 
 
 
 
 
 
 | 12 | 
  | 
 
 
 
 
 
 | 13 | 
 class SoundPage2 : public QWizardPage | 
 
 
 
 
 
 | 14 | 
 { | 
 
 
 
 
 
 | 15 | 
     Q_OBJECT | 
 
 
 
 
 
 | 16 | 
      | 
 
 
 
 
 
 | 17 | 
 public: | 
 
 
 
 
 
 | 18 | 
     DropTableWidget *soundTable; | 
 
 
 
 
 
 | 19 | 
  | 
 
 
 
 
 
 | 20 | 
     explicit SoundPage2(QString appLocation, QWidget *parent = 0); | 
 
 
 
 
 
 | 21 | 
     ~SoundPage2(); | 
 
 
 
 
 
 | 22 | 
      | 
 
 
 
 
 
 | 23 | 
 private slots: | 
 
 
 
 
 
 | 24 | 
     void addResourcesSounds(DropTableWidget *myTable, QStringList resources); | 
 
 
 
 
 
 | 25 | 
  | 
 
 
 
 
 
 | 26 | 
     void on_rbOther_toggled(bool checked); | 
 
 
 
 
 
 | 27 | 
  | 
 
 
 
 
 
 | 28 | 
     void on_tbAddFiles_clicked(); | 
 
 
 
 
 
 | 29 | 
  | 
 
 
 
 
 
 | 30 | 
     void on_tbRemoveFiles_clicked(); | 
 
 
 
 
 
 | 31 | 
  | 
 
 
 
 
 
 | 32 | 
     void on_pbBrowserOtherLocation_clicked(); | 
 
 
 
 
 
 | 33 | 
  | 
 
 
 
 
 
 | 34 | 
     void openCodecLocalHelp(); | 
 
 
 
 
 
 | 35 | 
  | 
 
 
 
 
 
 | 36 | 
 private: | 
 
 
 
 
 
 | 37 | 
     Ui::soundpage2 *ui; | 
 
 
 
 
 
 | 38 | 
     static const QStringList allowedFiles; | 
 
 
 
 
 
 | 39 | 
     QString codecLocalHelpFile; | 
 
 
 
 
 
 | 40 | 
  | 
 
 
 
 
 
 | 41 | 
     bool validatePage(); | 
 
 
 
 
 
 | 42 | 
 }; | 
 
 
 
 
 
 | 43 | 
  | 
 
 
 
 
 
 | 44 | 
 #endif // SOUNDPAGE2_H |