From c7e3315b663566f71f83dcc9d2259aac262081c1 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 27 Nov 2016 20:25:49 +0100 Subject: Add preview for videos Grab 4 frames from a video and display them in the Viewer. First frame is @00:01:00, last at length - 1 minute, and the other two are in between: length / 4 * 2 and 3 (hardcoded). --- filewidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filewidget.h') diff --git a/filewidget.h b/filewidget.h index a886914..8304b1a 100644 --- a/filewidget.h +++ b/filewidget.h @@ -53,6 +53,7 @@ class FileWidget : public QWidget { void selectDir(); void properties(); void properties(const QModelIndex &idx); + void preview(); void filter(); void clearFilter(); void copy(); @@ -96,6 +97,7 @@ class FileWidget : public QWidget { QAction *mDirUpA; QAction *mDirBackA; QAction *mPropertiesA; + QAction *mPreviewA; QAction *mCopyA; QAction *mCutA; QAction *mPasteA; -- cgit v1.2.3-70-g09d2