From ac5f624734f712bce84f36cc47c0133a1382534f Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 1 Jun 2013 06:53:34 +0200 Subject: Add view for new ArchiveModel Display the new ArchiveModel in an experimental tab --- shemov.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index b6be75f..9859d2f 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -39,6 +39,7 @@ #include "pictureswidget.h" #include "smdirmodel.h" #include "framecache.h" +#include "archiveview.h" SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) { //application icon @@ -73,6 +74,12 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla connect(mATree->filesWidget(), SIGNAL(statusMessage(QString)), this, SLOT(statusbarMessage(QString))); connect(this, SIGNAL(configChanged()), mATree, SLOT(readSettings())); + //experimental + splash.showMessage(tr("Creating experimental"), Qt::AlignHCenter, Qt::yellow); + qApp->processEvents(); + mArchive = new ArchiveView; + mTab->addTab(mArchive, "Experimental"); + //pictures splash.showMessage(tr("Creating Picture Archive..."), Qt::AlignHCenter, Qt::yellow); qApp->processEvents(); -- cgit v1.2.3-70-g09d2