summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-06-12 12:09:52 +0200
committerArno <am@disconnect.de>2010-06-12 12:09:52 +0200
commitf0970f64fd92fb65a3e0bd2b07b733f9932d8b35 (patch)
tree7f1c55daf6066da3e051eee61d91fa69d513d09e /shemov.cpp
parentb7b3abf2bb11dc823dd7d1f68c6ebd279bc8a8dc (diff)
downloadSheMov-f0970f64fd92fb65a3e0bd2b07b733f9932d8b35.tar.gz
SheMov-f0970f64fd92fb65a3e0bd2b07b733f9932d8b35.tar.bz2
SheMov-f0970f64fd92fb65a3e0bd2b07b733f9932d8b35.zip
Made ArchiveTreeView work
Made ArchiveTreeView work and took a look at it. Right now flat view seems to be the better alternative.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 16cd32d..aa29bdc 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -44,6 +44,7 @@
#include "moviemodelsingleton.h"
#include "listmodelsingleton.h"
#include "pictureviewer.h"
+#include "archivetreeview.h"
SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) {
qApp->setWindowIcon(QIcon(":/shemov.png"));
@@ -74,6 +75,8 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
mAVWidget = new ArchiveViewWidget(mMovieModel, mGenreModel, mActorModel);
mTab->addTab(mAVWidget, tr("Archive"));
connect(mAVWidget, SIGNAL(windowTitle(const QString &)), this, SLOT(newWindowTitle(const QString &)));
+ mATree = new ArchiveTreeView;
+ mTab->addTab(mATree, "Tree");
mAEdit = new ArchiveEditDialog(this);
mFSWidget->setArchiveDialog(mAEdit);