21 #ifndef SOURCESCOMMON_H 22 #define SOURCESCOMMON_H 24 #include <QModelIndexList> 31 class QAbstractItemView;
40 QAbstractItemView* view;
41 void show_context_menu(QWidget* parent,
const QModelIndexList &items);
43 void mousePressEvent(QMouseEvent* e);
44 void mouseDoubleClickEvent(QMouseEvent* e,
const QModelIndexList& selected_items);
45 void dropEvent(QWidget *parent, QDropEvent* e,
const QModelIndex& drop_item,
const QModelIndexList &items);
47 void item_click(
Media* m,
const QModelIndex &index);
49 void create_seq_from_selected();
50 void reveal_in_browser();
51 void rename_interval();
52 void item_renamed(
Media *item);
55 void open_create_proxy_dialog();
56 void clear_proxies_from_selected();
59 QModelIndex editing_index;
60 QModelIndexList selected_items;
62 void stop_rename_timer();
66 QVector<Footage*> cached_selected_footage;
69 #endif // SOURCESCOMMON_H
Definition: sourcescommon.h:36