diff options
-rw-r--r-- | archiveviewwidget.cpp | 10 | ||||
-rw-r--r-- | archiveviewwidget.h | 5 | ||||
-rw-r--r-- | coverarchiveeditor.cpp | 182 | ||||
-rw-r--r-- | coverarchiveeditor.h | 50 | ||||
-rw-r--r-- | editarchiveitemdialog.cpp | 205 | ||||
-rw-r--r-- | editarchiveitemdialog.h | 62 | ||||
-rw-r--r-- | shemov.cpp | 8 | ||||
-rw-r--r-- | shemov.h | 3 | ||||
-rw-r--r-- | shemov.pro | 4 |
9 files changed, 0 insertions, 529 deletions
diff --git a/archiveviewwidget.cpp b/archiveviewwidget.cpp index eab5a5a..9aa1164 100644 --- a/archiveviewwidget.cpp +++ b/archiveviewwidget.cpp @@ -25,10 +25,8 @@ #include "moviemodel.h" #include "listmodel.h" #include "archiveproxy.h" -#include "editarchiveitemdialog.h" #include "sizedelegate.h" #include "archiveddelegate.h" -#include "coverarchiveeditor.h" #include "textenterdialog.h" #include "helper.h" #include "moviepropertiesdialog.h" @@ -103,14 +101,6 @@ void ArchiveViewWidget::editFile(){ mEditDialog->activateWindow(); } -void ArchiveViewWidget::editCovers(){ - QModelIndex real = getSourceColumnZero(); - mCoverEditDialog->setMovie(real); - mCoverEditDialog->show(); - mCoverEditDialog->raise(); - mCoverEditDialog->activateWindow(); -} - void ArchiveViewWidget::addMovie(){ AddMovieWizard wiz(this); wiz.exec(); diff --git a/archiveviewwidget.h b/archiveviewwidget.h index 00356c4..6a4d572 100644 --- a/archiveviewwidget.h +++ b/archiveviewwidget.h @@ -21,8 +21,6 @@ class QPushButton; class QModelIndex; class ArchiveFileView; class ArchiveProxy; -class EditArchiveItemDialog; -class CoverArchiveEditor; class ArchiveItemEditDialog; class ArchiveViewWidget : public QWidget { @@ -32,13 +30,11 @@ class ArchiveViewWidget : public QWidget { ~ArchiveViewWidget() {}; ArchiveFileView* fileView() { return mFileView; }; void setEditDialog(ArchiveItemEditDialog *dlg) { mEditDialog = dlg; }; - void setCoverEditDialog(CoverArchiveEditor *dlg) { mCoverEditDialog = dlg; }; const QString &windowTitle() const { return mWindowTitle; }; qint64 currentSize() const { return mSize; }; public slots: void editFile(); - void editCovers(); void addMovie(); void showMovie(const QModelIndex &movie); void properties(); @@ -74,7 +70,6 @@ class ArchiveViewWidget : public QWidget { ArchiveFileView *mFileView; ArchiveProxy *mProxy; ArchiveItemEditDialog *mEditDialog; - CoverArchiveEditor *mCoverEditDialog; QString mWindowTitle; qint64 mSize; }; diff --git a/coverarchiveeditor.cpp b/coverarchiveeditor.cpp deleted file mode 100644 index f8f21b6..0000000 --- a/coverarchiveeditor.cpp +++ /dev/null @@ -1,182 +0,0 @@ -/* - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. -*/ - -#include <QGridLayout> -#include <QHBoxLayout> -#include <QVBoxLayout> -#include <QPushButton> -#include <QComboBox> -#include <QLabel> -#include <QModelIndex> -#include <QApplication> -#include <QFileDialog> -#include <QFileInfo> -#include <QSettings> - -#include <algorithm> - -#include "coverarchiveeditor.h" -#include "moviemodel.h" -#include "coveritem.h" -#include "helper.h" - -CoverArchiveEditor::CoverArchiveEditor(MovieModel *model, QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), mModel(model){ - QGridLayout *grid = new QGridLayout; - - //front cover - QLabel *l1 = new QLabel(tr("Set &front cover")); - mFront = new QComboBox; - l1->setBuddy(mFront); - grid->addWidget(l1, 0, 0); - grid->addWidget(mFront, 0, 1); - - //back cover - QLabel *l2 = new QLabel(tr("Set &back cover")); - mBack = new QComboBox; - l2->setBuddy(mBack); - grid->addWidget(l2, 1, 0); - grid->addWidget(mBack, 1, 1); - - //general cover - QLabel *l3 = new QLabel(tr("Set &general cover")); - mCovers = new QComboBox; - l3->setBuddy(mCovers); - grid->addWidget(l3, 2, 0); - grid->addWidget(mCovers, 2, 1); - - //buttons - QHBoxLayout *buttonLayout = new QHBoxLayout; - mAddCover = new QPushButton(tr("Add cover...")); - connect(mAddCover, SIGNAL(clicked()), this, SLOT(addCover())); - mUpdate = new QPushButton(tr("Update")); - connect(mUpdate, SIGNAL(clicked()), this, SLOT(accept())); - mClose = new QPushButton(tr("Close")); - connect(mClose, SIGNAL(clicked()), this, SLOT(reject())); - buttonLayout->addStretch(); - buttonLayout->addWidget(mAddCover); - buttonLayout->addWidget(mUpdate); - buttonLayout->addWidget(mClose); - - //main layout - QVBoxLayout *mainLayout = new QVBoxLayout; - mainLayout->addLayout(grid); - mainLayout->addLayout(buttonLayout); - - setLayout(mainLayout); -} - -void CoverArchiveEditor::setMovie(const QModelIndex &movie){ - mCoverList = mModel->data(movie, MovieModel::CoverRole).toList(); - mMovId = mModel->data(movie, MovieModel::IdRole).toInt(); - QString title = QString(tr("%1 - Cover edit for %2")).arg(qApp->applicationName()).arg(movie.data().toString()); - setWindowTitle(title); - QStringList files("-"); - foreach(QVariant c, mCoverList){ - CoverItem item = c.value<CoverItem>(); - files << item.fileName(); - } - mFront->addItems(files); - QList<QVariant>::const_iterator it; - int idx(-1); - it = std::find_if(mCoverList.constBegin(), mCoverList.constEnd(), std::bind2nd(CoverItem::findType(), "front")); - QString fn; - if(it != mCoverList.constEnd()){ - fn = it->value<CoverItem>().fileName(); - idx = mFront->findText(fn); - if(idx != -1){ - mFront->setCurrentIndex(idx); - } - } - mBack->addItems(files); - it = std::find_if(mCoverList.constBegin(), mCoverList.constEnd(), std::bind2nd(CoverItem::findType(), "back")); - if(it != mCoverList.constEnd()){ - fn = it->value<CoverItem>().fileName(); - idx = mBack->findText(fn); - if(idx != -1){ - mBack->setCurrentIndex(idx); - } - } - mCovers->addItems(files); - it = std::find_if(mCoverList.constBegin(), mCoverList.constEnd(), std::bind2nd(CoverItem::findType(), "general")); - if(it != mCoverList.constEnd()){ - fn = it->value<CoverItem>().fileName(); - idx = mCovers->findText(fn); - if(idx != -1){ - mCovers->setCurrentIndex(idx); - } - } -} - -void CoverArchiveEditor::accept(){ - QList<CoverItem> items; - QString fn; - CoverItem item; - fn = mFront->currentText(); - item = realItem(fn, "front"); - if(item != CoverItem()){ - items << item; - } - fn = mBack->currentText(); - item = realItem(fn, "back"); - if(item != CoverItem()){ - items << item; - } - fn = mCovers->currentText(); - item = realItem(fn, "general"); - if(item != CoverItem()){ - items << item; - } - mModel->setCovers(mMovId, items); -} - -void CoverArchiveEditor::addCover(){ - QSettings s; - QString startDir = s.value("ui/selectstartup").toString(); - QStringList files = QFileDialog::getOpenFileNames(this, "Select covers to add...", startDir); - QStringList addItems; - foreach(QString f, files){ - mAddedCovers << f; - QFileInfo info(f); - addItems << info.fileName(); - } - mFront->addItems(addItems); - mBack->addItems(addItems); - mCovers->addItems(addItems); -} - -CoverItem CoverArchiveEditor::coverItem(const QString &path, const QString &type) const{ - QString md5 = Helper::md5Sum(path); - QString newPath = Helper::moveToArchive(path, md5); - return CoverItem(newPath, type, md5); -} - -CoverItem CoverArchiveEditor::realItem(const QString &filename, const QString &type) const{ - QList<QVariant>::const_iterator initCit = std::find_if(mCoverList.constBegin(), mCoverList.constEnd(), std::bind2nd(CoverItem::findFilename(), filename)); - //got it, have to convert it to the right type - if(initCit != mCoverList.constEnd()){ - CoverItem i = initCit->value<CoverItem>(); - i.setType(type); - return i; - //an added item - }else{ - QList<QString>::const_iterator ait = std::find_if(mAddedCovers.constBegin(), mAddedCovers.constEnd(), std::bind2nd(Helper::StringListContains(), filename)); - //maybe an unset item - if(ait == mAddedCovers.constEnd()){ - QList<QVariant>::const_iterator oit = std::find_if(mCoverList.constBegin(), mCoverList.constEnd(), std::bind2nd(CoverItem::findType(), type)); - if(oit != mCoverList.constEnd()){ - CoverItem oldItem = oit->value<CoverItem>(); - //remove it from fs - Helper::removeFromArchive(oldItem.fileName(), oldItem.md5()); - } - return CoverItem(); - } - CoverItem i = coverItem((*ait), type); - return i; - } - return CoverItem(); -} - diff --git a/coverarchiveeditor.h b/coverarchiveeditor.h deleted file mode 100644 index e30037a..0000000 --- a/coverarchiveeditor.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. -*/ - -#ifndef COVERARCHIVEEDITOR_H -#define COVERARCHIVEEDITOR_H - -#include <QDialog> -#include <QList> -#include <QVariant> - -class MovieModel; -class QComboBox; -class QPushButton; -class QModelIndex; -class CoverItem; - -class CoverArchiveEditor : public QDialog { - Q_OBJECT - public: - CoverArchiveEditor(MovieModel *model, QWidget *parent = 0, Qt::WindowFlags f = 0); - ~CoverArchiveEditor() {}; - void setMovie(const QModelIndex &movie); - - public slots: - void accept(); - - private slots: - void addCover(); - - private: - CoverItem coverItem(const QString &path, const QString &type) const; - CoverItem realItem(const QString &filename, const QString &type) const; - MovieModel *mModel; - QComboBox *mFront; - QComboBox *mBack; - QComboBox *mCovers; - QPushButton *mAddCover; - QPushButton *mClose; - QPushButton *mUpdate; - QList<QVariant> mCoverList; - QList<QString> mAddedCovers; - int mMovId; - -}; - -#endif diff --git a/editarchiveitemdialog.cpp b/editarchiveitemdialog.cpp deleted file mode 100644 index b10dbb0..0000000 --- a/editarchiveitemdialog.cpp +++ /dev/null @@ -1,205 +0,0 @@ -/* - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. -*/ - -#include <QLineEdit> -#include <QLabel> -#include <QSplitter> -#include <QHBoxLayout> -#include <QVBoxLayout> -#include <QSpinBox> -#include <QTextEdit> -#include <QPushButton> -#include <QFont> -#include <QComboBox> -#include <QSplitter> -#include <QApplication> -#include <QModelIndex> -#include <QTreeView> - -#include "editarchiveitemdialog.h" -#include "listmodel.h" -#include "moviemodel.h" -#include "listeditor.h" -#include "covereditor.h" -#include "coveritem.h" -#include "fileinfomodel.h" -#include "actorwidget.h" -#include "actormodel.h" - -EditArchiveItemDialog::EditArchiveItemDialog(ListModel *genre, ListModel *actors, MovieModel *movies, QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), mGenreModel(genre), mActorsModel(actors), mMovieModel(movies){ - QWidget *w1 = new QWidget; - QVBoxLayout *w1Layout = new QVBoxLayout; - - //movie information - QLabel *l1 = new QLabel(tr("Movie information")); - w1Layout->addWidget(l1); - mMovieInfo = new QTreeView; - mFileInfoModel = new FileInfoModel; - mMovieInfo->setModel(mFileInfoModel); - w1Layout->addWidget(mMovieInfo); - - //actors - QLabel *l2 = new QLabel(tr("Select actors")); - QHBoxLayout *actorsLayout = new QHBoxLayout; - mActorsDisplay = new ActorWidget; - mCurrentActors = new ActorModel; - actorsLayout->addWidget(l2); - w1Layout->addWidget(mActorsDisplay); - - //genre - QLabel *l3 = new QLabel(tr("Select genre")); - mGenre = new QComboBox; - mGenre->setModel(mGenreModel); - QHBoxLayout *genreLayout = new QHBoxLayout; - genreLayout->addWidget(l3); - genreLayout->addWidget(mGenre); - w1Layout->addLayout(genreLayout); - - //quality + dvd - QLabel *l4 = new QLabel(tr("Set quality")); - mQuality = new QSpinBox; - mQuality->setMinimum(0); - mQuality->setMaximum(10); - QHBoxLayout *qualityDvdLayout = new QHBoxLayout; - qualityDvdLayout->addWidget(l4); - qualityDvdLayout->addWidget(mQuality); - qualityDvdLayout->addStretch(); - QLabel*l5 = new QLabel(tr("Set DVD No.")); - mDvd = new QSpinBox; - mDvd->setMinimum(-1); - mDvd->setMaximum(1000); - qualityDvdLayout->addWidget(l5); - qualityDvdLayout->addWidget(mDvd); - w1Layout->addLayout(qualityDvdLayout); - QLabel *l6 = new QLabel(tr("Set series No.")); - mSeriesNo = new QSpinBox; - mSeriesNo->setMinimum(-1); - mSeriesNo->setMaximum(1000); - qualityDvdLayout->addWidget(l6); - qualityDvdLayout->addWidget(mSeriesNo); - QLabel *l7 = new QLabel(tr("Set part No.")); - mPartNo = new QSpinBox; - mPartNo->setMinimum(-1); - mPartNo->setMaximum(100); - qualityDvdLayout->addWidget(l7); - qualityDvdLayout->addWidget(mPartNo); - - //movie title - QLabel *l8 = new QLabel(tr("Set movie title")); - mTitle = new QLineEdit; - QHBoxLayout *titleLayout = new QHBoxLayout; - titleLayout->addWidget(l8); - titleLayout->addWidget(mTitle); - w1Layout->addLayout(titleLayout); - w1->setLayout(w1Layout); - w1->setMinimumWidth(500); - - //list editors - QWidget *w2 = new QWidget; - QVBoxLayout *w2Layout = new QVBoxLayout; - ListEditor *genreEditor = new ListEditor(mGenreModel); - w2Layout->addWidget(genreEditor); - ListEditor *actorsEditor = new ListEditor(mActorsModel); - connect(actorsEditor, SIGNAL(itemAdded(const QString &)), this, SLOT(addActor(const QString &))); - w2Layout->addWidget(actorsEditor); - w2Layout->addStretch(); - w2->setLayout(w2Layout); - - //splitter - QSplitter *splitter = new QSplitter; - splitter->addWidget(w1); - splitter->addWidget(w2); - - //dialog buttons - QHBoxLayout *buttonLayout = new QHBoxLayout; - buttonLayout->addStretch(); - mUpdate = new QPushButton(tr("Update")); - connect(mUpdate, SIGNAL(clicked()), this, SLOT(updateMovie())); - mClose = new QPushButton(tr("Close")); - connect(mClose, SIGNAL(clicked()), this, SLOT(reject())); - buttonLayout->addWidget(mUpdate); - buttonLayout->addWidget(mClose); - - //now put it all together - QVBoxLayout *mainLayout = new QVBoxLayout; - mainLayout->addWidget(splitter); - mainLayout->addLayout(buttonLayout); - - setLayout(mainLayout); - QString title = QString(tr("%1 - Edit archive")).arg(qApp->applicationName()); - setWindowTitle(title); -} - -void EditArchiveItemDialog::setMovie(const QModelIndex &movie){ - if(!movie.isValid()){ - return; - } - mMovieId = movie.data(MovieModel::IdRole).toInt(); - QHash<QString, QVariant> actorMap = movie.data(MovieModel::ActorsMap).value<QHash<QString, QVariant> >(); - for(QHash<QString, QVariant>::const_iterator it = actorMap.constBegin(); it != actorMap.constEnd(); ++it){ - mActorsDisplay->addActor(it.key()); - } - mCovers = movie.data(MovieModel::CoverRole).toList(); - setMovieInfo(movie); -} - -void EditArchiveItemDialog::setMovieInfo(const QModelIndex &movie){ - QModelIndex idx = mMovieModel->index(movie.row(), MovieItem::Title, QModelIndex()); - mTitle->setText(idx.data(MovieModel::TitleBaseRole).toString()); - int genreIndex = mGenre->findText(idx.data().toString()); - if(genreIndex != -1){ - mGenre->setCurrentIndex(genreIndex); - } - mQuality->setValue(idx.data(MovieModel::QualityRole).toInt()); - int dvd = idx.data(MovieModel::DvdRole).toInt(); - mDvd->setValue(dvd); - int seriesno = idx.data(MovieModel::SeriesNoRole).toInt(); - mSeriesNo->setValue(seriesno); - int partno = idx.data(MovieModel::PartNoRole).toInt(); - mPartNo->setValue(partno); - mFileInfoModel->clear(); - mFileInfoModel->addIndex(idx.data().toString(), movie); - mMovieInfo->setHeaderHidden(true); - mMovieInfo->resizeColumnToContents(0); - mMovieInfo->expandAll(); -} - -void EditArchiveItemDialog::addActor(const QString &actor){ - mActorsDisplay->addActor(actor); -} - -void EditArchiveItemDialog::updateMovie(){ - QStringList actors = mActorsDisplay->actors(); - QList<QVariant> actorIds; - foreach(QString a, actors){ - QModelIndex idx = mActorsModel->index(a); - if(idx.isValid()){ - actorIds << idx.data(ListModel::IdRole); - } - } - mMovieModel->setActors(mMovieId, actorIds); - QString genreName = mGenre->currentText(); - QModelIndex genreIdx = mGenreModel->index(genreName); - QModelIndex genreMovieIndex = mMovieModel->index(mMovieId, MovieItem::Genre); - QVariant genreId = genreIdx.data(ListModel::IdRole); - mMovieModel->setDataAt(genreMovieIndex, genreId); - QModelIndex dvdIdx = mMovieModel->index(mMovieId, MovieItem::Dvd); - mMovieModel->setDataAt(dvdIdx, mDvd->value()); - QModelIndex qualityIdx = mMovieModel->index(mMovieId, MovieItem::Quality); - mMovieModel->setDataAt(qualityIdx, mQuality->value()); - QModelIndex seriesnoIdx = mMovieModel->index(mMovieId, MovieItem::SeriesNo); - mMovieModel->setDataAt(seriesnoIdx, mSeriesNo->value()); - QModelIndex partnoIdx = mMovieModel->index(mMovieId, MovieItem::PartNo); - mMovieModel->setDataAt(partnoIdx, mPartNo->value()); - QString title = mTitle->text().trimmed().toLower(); - QModelIndex titleIdx = mMovieModel->index(mMovieId, MovieItem::Title); - if(!title.isEmpty()){ - mMovieModel->setDataAt(titleIdx, title); - } - setMovieInfo(titleIdx); -} - diff --git a/editarchiveitemdialog.h b/editarchiveitemdialog.h deleted file mode 100644 index 2cf4a2a..0000000 --- a/editarchiveitemdialog.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. -*/ - -#ifndef EDITARCHIVEITEMDIALOG_H -#define EDITARCHIVEITEMDIALOG_H - -#include <QDialog> -#include <QHash> -#include <QVariant> - -class ListModel; -class MovieModel; -class QLineEdit; -class QComboBox; -class QSpinBox; -class QTextEdit; -class QPushButton; -class QModelIndex; -class QTreeView; -class FileInfoModel; -class ActorWidget; -class ActorModel; - -class EditArchiveItemDialog : public QDialog { - Q_OBJECT - public: - EditArchiveItemDialog(ListModel *genre, ListModel *actors, MovieModel *movies, QWidget *parent = 0, Qt::WindowFlags f = 0); - ~EditArchiveItemDialog() {}; - void setMovie(const QModelIndex &movie); - - private slots: - void addActor(const QString &actor); - void updateMovie(); - - private: - void setMovieInfo(const QModelIndex &movie); - ListModel *mGenreModel; - ListModel *mActorsModel; - ActorModel *mCurrentActors; - FileInfoModel *mFileInfoModel; - MovieModel *mMovieModel; - QComboBox *mGenre; - QComboBox *mActors; - QTreeView *mMovieInfo; - ActorWidget *mActorsDisplay; - QSpinBox *mQuality; - QSpinBox *mSeriesNo; - QSpinBox *mPartNo; - QSpinBox *mDvd; - QPushButton *mUpdate; - QPushButton *mClose; - QLineEdit *mTitle; - QList<QVariant> mCovers; - int mMovieId; -}; - -#endif - @@ -38,9 +38,7 @@ #include "moviemodel.h" #include "listmodel.h" #include "archiveviewwidget.h" -#include "editarchiveitemdialog.h" #include "archiveitemeditdialog.h" -#include "coverarchiveeditor.h" #include "statisticsdialog.h" #include "filesystemfileproxy.h" #include "moviemodelsingleton.h" @@ -82,8 +80,6 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla mAItemEdit = new ArchiveItemEditDialog(this); mAVWidget->setEditDialog(mAItemEdit); - mCEdit = new CoverArchiveEditor(mMovieModel, this); - mAVWidget->setCoverEditDialog(mCEdit); QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addWidget(mTab); @@ -331,8 +327,6 @@ void SheMov::createActions(){ mEditArchiveFileA = new QAction(tr("Edit file..."), this); mEditArchiveFileA->setShortcut(tr("CTRL+e")); connect(mEditArchiveFileA, SIGNAL(triggered()), mAVWidget, SLOT(editFile())); - mEditArchiveCoverA = new QAction(tr("Edit covers..."), this); - connect(mEditArchiveCoverA, SIGNAL(triggered()), mAVWidget, SLOT(editCovers())); mAddMovieManuallyA = new QAction(tr("Add movie manually..."), this); connect(mAddMovieManuallyA, SIGNAL(triggered()), mAVWidget, SLOT(addMovie())); mPropertiesA = new QAction(tr("Properties..."), this); @@ -392,7 +386,6 @@ void SheMov::createMenus(){ mEditArchiveMenu = new QMenu(tr("&Edit archive"), this); mEditArchiveMenu->addAction(mEditArchiveFileA); - mEditArchiveMenu->addAction(mEditArchiveCoverA); mEditArchiveMenu->addSeparator(); mEditArchiveMenu->addAction(mPropertiesA); mEditArchiveMenu->addSeparator(); @@ -454,7 +447,6 @@ void SheMov::createMenus(){ sep5->setSeparator(true); mAVWidget->fileView()->addAction(sep5); mAVWidget->fileView()->addAction(mEditArchiveFileA); - mAVWidget->fileView()->addAction(mEditArchiveCoverA); mAVWidget->fileView()->addAction(mAddMovieManuallyA); mAVWidget->fileView()->addAction(mDeleteFromArchiveA); mAVWidget->fileView()->addAction(mSetDvdA); @@ -25,7 +25,6 @@ class MovieModel; class ListModel; class ArchiveViewWidget; class EditArchiveItemDialog; -class CoverArchiveEditor; class ArchiveItemEditDialog; class SheMov : public QMainWindow { @@ -81,7 +80,6 @@ class SheMov : public QMainWindow { QAction *mConfigA; QAction *mArchiveA; QAction *mEditArchiveFileA; - QAction *mEditArchiveCoverA; QAction *mAddMovieManuallyA; QAction *mPropertiesA; QAction *mMoveBurnA; @@ -117,7 +115,6 @@ class SheMov : public QMainWindow { ArchiveViewWidget *mAVWidget; ArchiveEditDialog *mAEdit; ArchiveItemEditDialog *mAItemEdit; - CoverArchiveEditor *mCEdit; MovieModel *mMovieModel; ListModel *mGenreModel; ListModel *mActorModel; @@ -26,10 +26,8 @@ SOURCES = main.cpp \ archiveviewwidget.cpp \ archivefileview.cpp \ archiveproxy.cpp \ - editarchiveitemdialog.cpp \ sizedelegate.cpp \ archiveddelegate.cpp \ - coverarchiveeditor.cpp \ textenterdialog.cpp \ moviepropertiesdialog.cpp \ statisticsdialog.cpp \ @@ -69,10 +67,8 @@ HEADERS = listitem.h \ archiveviewwidget.h \ archivefileview.h \ archiveproxy.h \ - editarchiveitemdialog.h \ sizedelegate.h \ archiveddelegate.h \ - coverarchiveeditor.h \ textenterdialog.h \ moviepropertiesdialog.h \ statisticsdialog.h \ |