diff options
author | Arno <am@disconnect.de> | 2010-05-29 14:54:55 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-05-29 15:12:41 +0200 |
commit | ca84789d9f288e39936a288c17eff247cb0f4a3f (patch) | |
tree | e4c70bd2eccd65378edc09fea0b8cdce13d2de3d /shemov.cpp | |
parent | d95e3f02d6615854547bded419de81395b28c2c5 (diff) | |
download | SheMov-ca84789d9f288e39936a288c17eff247cb0f4a3f.tar.gz SheMov-ca84789d9f288e39936a288c17eff247cb0f4a3f.tar.bz2 SheMov-ca84789d9f288e39936a288c17eff247cb0f4a3f.zip |
Implement new ArchiveItemEditDialog
Use ArchiveItemEditDialog instead of EditArchiveItemDialog. The latter
will soon be obsolete and removed. Terrible naming, though. This commit
is not as atomic as I want it to be, but it can't be helped.
I had to fix several bugs in ArchveItemInfoEdit and ArchiveItemCoverEdit
on the way:
-Fix layout of ArchiveItemCoverEdit
-Make white background of warning label in ArchiveItemCoverEdit work
-Add function to ArchiveItemInfoEdit to init the ActorModel and
FileInfoModel
-Add function to ArchiveItemInfoEdit to return selected actors
Beware: The update button still does nothing!
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,6 +39,7 @@ #include "listmodel.h" #include "archiveviewwidget.h" #include "editarchiveitemdialog.h" +#include "archiveitemeditdialog.h" #include "coverarchiveeditor.h" #include "statisticsdialog.h" #include "filesystemfileproxy.h" @@ -79,7 +80,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla mAEdit = new ArchiveEditDialog(this); mFSWidget->setArchiveDialog(mAEdit); - mAItemEdit = new EditArchiveItemDialog(mGenreModel, mActorModel, mMovieModel, this); + mAItemEdit = new ArchiveItemEditDialog(this); mAVWidget->setEditDialog(mAItemEdit); mCEdit = new CoverArchiveEditor(mMovieModel, this); mAVWidget->setCoverEditDialog(mCEdit); |