diff options
author | Arno <am@disconnect.de> | 2010-06-12 12:09:52 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-06-12 12:09:52 +0200 |
commit | f0970f64fd92fb65a3e0bd2b07b733f9932d8b35 (patch) | |
tree | 7f1c55daf6066da3e051eee61d91fa69d513d09e /shemov.cpp | |
parent | b7b3abf2bb11dc823dd7d1f68c6ebd279bc8a8dc (diff) | |
download | SheMov-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.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |