00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef NEW_PROJECT_DIALOG_H
00023 #define NEW_PROJECT_DIALOG_H
00024
00025 #include "ui_NewProjectDialog.h"
00026 #include <QDialog>
00027
00028 class AudioFileCopyConvert;
00029 class ExportFormatOptionsWidget;
00030 class QButtonGroup;
00031 struct ExportSpecification;
00032
00033
00034 class NewProjectDialog : public QDialog, protected Ui::NewProjectDialog
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 NewProjectDialog(QWidget* parent = 0);
00040 ~NewProjectDialog();
00041
00042 AudioFileCopyConvert* get_converter();
00043
00044 private:
00045 AudioFileCopyConvert* m_converter;
00046 ExportSpecification* m_exportSpec;
00047 ExportFormatOptionsWidget* m_formatOptionsWidget;
00048 QButtonGroup* m_buttonGroup;
00049
00050 void load_all_files();
00051 void copy_files();
00052
00053 private slots:
00054 void accept();
00055 void use_template_checkbox_state_changed(int state);
00056 void update_template_combobox();
00057 void add_files();
00058 void remove_files();
00059 void load_file(QString, int, QString);
00060 void move_up();
00061 void move_down();
00062
00063 signals:
00064 void loadFile(QString, int, QString);
00065 void number_of_files(int);
00066 };
00067
00068 #endif
00069
00070
00071