00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef MARKER_DIALOG_H
00023 #define MARKER_DIALOG_H
00024
00025 #include "ui_MarkerDialog.h"
00026 #include <QDialog>
00027
00028 class Project;
00029 class Marker;
00030 class Sheet;
00031
00032 class MarkerDialog : public QDialog, protected Ui::MarkerDialog
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 MarkerDialog(QWidget* parent = 0);
00038 ~MarkerDialog() {};
00039
00040 private:
00041 Project* m_project;
00042 Marker* m_marker;
00043 Sheet* m_sheet;
00044
00045 Marker* get_marker(qint64);
00046 void next_item(QLineEdit *);
00047
00048 private slots:
00049 void update_marker_treeview();
00050 void item_changed(QTreeWidgetItem *, QTreeWidgetItem *);
00051 void description_changed(const QString &);
00052 void position_changed(const QString &);
00053 void remove_marker();
00054 void export_toc();
00055 void apply();
00056 void cancel();
00057
00058 void title_enter();
00059 void position_enter();
00060 void performer_enter();
00061 void composer_enter();
00062 void arranger_enter();
00063 void sheetwriter_enter();
00064 void message_enter();
00065 void isrc_enter();
00066
00067 void title_all();
00068 void performer_all();
00069 void composer_all();
00070 void arranger_all();
00071 void songwriter_all();
00072 void message_all();
00073 void copy_all();
00074 void pemph_all();
00075 };
00076
00077 #endif