diff options
author | Arno <arno@disconnect.de> | 2018-04-03 05:59:38 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-04-03 05:59:38 +0200 |
commit | eb9ed351b179802e3cfc21ccb3311077965d6541 (patch) | |
tree | 1d101c863d54502677936617274dd5a18facd15a /shemov.cpp | |
parent | 71bbe75e92fc76619d2e2f60c05d94ebff3439bf (diff) | |
download | SheMov-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.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |