summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-04-03 05:59:38 +0200
committerArno <arno@disconnect.de>2018-04-03 05:59:38 +0200
commiteb9ed351b179802e3cfc21ccb3311077965d6541 (patch)
tree1d101c863d54502677936617274dd5a18facd15a /shemov.cpp
parent71bbe75e92fc76619d2e2f60c05d94ebff3439bf (diff)
downloadSheMov-eb9ed351b179802e3cfc21ccb3311077965d6541.tar.gz
SheMov-eb9ed351b179802e3cfc21ccb3311077965d6541.tar.bz2
SheMov-eb9ed351b179802e3cfc21ccb3311077965d6541.zip
FSWidget: Update status bar
Show count, size and duration.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp5
1 files changed, 5 insertions, 0 deletions
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);