From a72d06854cfb2d41762bfde48ef1543aca47020a Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 3 Apr 2018 18:35:46 +0200 Subject: First implementation of MovieWidget It's the replacement for the archive viewer thingy. Just keep it simple and stupid. For now it shows series data. --- shemov.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index f0ea30b..78f8216 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -35,6 +35,7 @@ #include "searchdialog.h" #include "randomtab.h" #include "fswidget.h" +#include "moviewidget.h" #include "helper.h" SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) /*, mOpenWithGroupFS(0), mOpenWithGroupAV(0) */ { @@ -115,6 +116,12 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla connect(mFileWidget, &FSWidget::needRefreshFs, this, &SheMov::setFsFree); connect(mFileWidget, &FSWidget::needConfig, this, &SheMov::configure); + //MovieWidget + splash.showMessage(tr("Constructing MovieWidget..."), Qt::AlignHCenter, Qt::yellow); + qApp->processEvents(); + mMovieWidget = new MovieWidget; + mTab->addTab(mMovieWidget, "MW"); + //experimental splash.showMessage(tr("Creating Movie archive..."), Qt::AlignHCenter, Qt::yellow); qApp->processEvents(); -- cgit v1.2.3-70-g09d2