00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SONG_MANAGER_DIALOG_H
00023 #define SONG_MANAGER_DIALOG_H
00024
00025 #include "ui_ProjectManagerDialog.h"
00026 #include <QDialog>
00027
00028 class Project;
00029 class Sheet;
00030
00031 class ProjectManagerDialog : public QDialog, protected Ui::ProjectManagerDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 ProjectManagerDialog(QWidget* parent = 0);
00037 ~ProjectManagerDialog();
00038
00039 private:
00040 Project* m_project;
00041
00042 private slots:
00043 void update_sheet_list();
00044 void set_project(Project* project);
00045 void sheetitem_clicked( QTreeWidgetItem* item, int);
00046 void on_renameSheetButton_clicked();
00047 void on_deleteSheetButton_clicked();
00048 void on_createSheetButton_clicked();
00049
00050 void redo_text_changed(const QString& text);
00051 void undo_text_changed(const QString& text);
00052
00053 void on_undoButton_clicked();
00054 void on_redoButton_clicked();
00055 void on_sheetsExportButton_clicked();
00056 void on_exportTemplateButton_clicked();
00057
00058 void accept();
00059 void reject();
00060 };
00061
00062 #endif
00063
00064
00065
00066