Olive
sourcetable.h
1 #ifndef SOURCETABLE_H
2 #define SOURCETABLE_H
3 
4 #include <QTreeView>
5 #include <QTimer>
6 #include <QUndoCommand>
7 
8 class Project;
9 class Media;
10 
11 class SourceTable : public QTreeView
12 {
13  Q_OBJECT
14 public:
15  SourceTable(QWidget* parent = 0);
16  Project* project_parent;
17 protected:
18  void mousePressEvent(QMouseEvent*);
19  void mouseDoubleClickEvent(QMouseEvent *);
20  void dragEnterEvent(QDragEnterEvent *event);
21  void dragMoveEvent(QDragMoveEvent *event);
22  void dropEvent(QDropEvent *event);
23 private slots:
24  void item_click(const QModelIndex& index);
25  void show_context_menu();
26 };
27 
28 #endif // SOURCETABLE_H
Definition: sourcetable.h:11
Definition: media.h:20
Definition: project.h:40