From eb9ed351b179802e3cfc21ccb3311077965d6541 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 3 Apr 2018 05:59:38 +0200 Subject: FSWidget: Update status bar Show count, size and duration. --- shemov.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index 2a7aa7e..47018b7 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -65,6 +65,11 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla mFileWidget = new FSWidget; mTab->addTab(mFileWidget, tr("FS")); connect(mFileWidget, &FSWidget::message, this, &SheMov::statusbarMessage); + connect(mFileWidget, &FSWidget::selectionChanged, [=](int count, qint64 size, qint64 duration) { + updateSelectedCount(count); + setSize(size); + setDuration(duration, false); + }); //experimental splash.showMessage(tr("Creating Movie archive..."), Qt::AlignHCenter, Qt::yellow); -- cgit v1.2.3-70-g09d2