From 153683e2e961b13c5e97e582563656851bce377c Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 22 Mar 2013 09:18:52 +0100 Subject: Show duration in statusBar Show total duration of selected Movies in FileView. Created a new class Helper::Duration for this and declared it as QMetaType. --- shemov.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shemov.h') diff --git a/shemov.h b/shemov.h index 54bcb66..f42fc51 100644 --- a/shemov.h +++ b/shemov.h @@ -11,6 +11,7 @@ #include #include #include +#include class QTabWidget; class FilesystemWidget; @@ -48,6 +49,7 @@ class SheMov : public QMainWindow { void newMovieWizard(); void newMovieWizardWithFiles(); void setSize(qint64 size); + void setDuration(const QVariant dur); void checkConsistency(); void analyzeDb(); void analyzeDelete(int mode, QList &ids); @@ -76,6 +78,7 @@ class SheMov : public QMainWindow { void createPalette(); //Statusbar Items + QLabel *mSelectedDuration; QLabel *mSelectedItems; QLabel *mSlideLabel; QLabel *mSelectedSize; -- cgit v1.2.3-70-g09d2