From ca84789d9f288e39936a288c17eff247cb0f4a3f Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 29 May 2010 14:54:55 +0200 Subject: 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! --- shemov.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shemov.h') diff --git a/shemov.h b/shemov.h index 0b64093..b33fd6e 100644 --- a/shemov.h +++ b/shemov.h @@ -26,6 +26,7 @@ class ListModel; class ArchiveViewWidget; class EditArchiveItemDialog; class CoverArchiveEditor; +class ArchiveItemEditDialog; class SheMov : public QMainWindow { Q_OBJECT @@ -115,7 +116,7 @@ class SheMov : public QMainWindow { FilesystemWidget *mFSWidget; ArchiveViewWidget *mAVWidget; ArchiveEditDialog *mAEdit; - EditArchiveItemDialog *mAItemEdit; + ArchiveItemEditDialog *mAItemEdit; CoverArchiveEditor *mCEdit; MovieModel *mMovieModel; ListModel *mGenreModel; -- cgit v1.2.3-70-g09d2