1 #ifndef VIDEOSOURCEWIDGET_H
2 #define VIDEOSOURCEWIDGET_H
9 class VideoSourceWidget : public QWidget {
14 VideoSourceWidget(VideoSource *videoSource, QWidget *parent = 0);
17 void activated(VideoSource *videoSource);
20 void paintEvent(QPaintEvent *);
21 void mouseMoveEvent(QMouseEvent *event);
22 void mousePressEvent(QMouseEvent *event);
23 void mouseReleaseEvent(QMouseEvent *event);
24 void enterEvent(QEvent *event);
25 void leaveEvent(QEvent *event);
26 void keyReleaseEvent(QKeyEvent *event);
30 void previewVideo(QList<Video*> videos);
31 void setPixmapData(QByteArray bytes);
35 VideoSource *videoSource;
43 #endif // VIDEOSOURCEWIDGET_H