From f3b7e335c988cadd463063ca72790a638e44970e Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 23 May 2010 12:19:59 +0200 Subject: Added cover page to AddMovieWizard Finished AddMovieWizard. Added one last page to add covers to movie. --- addmoviewizard.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'addmoviewizard.h') diff --git a/addmoviewizard.h b/addmoviewizard.h index adc293c..ba4816e 100644 --- a/addmoviewizard.h +++ b/addmoviewizard.h @@ -14,6 +14,7 @@ class QLineEdit; class QSpinBox; class QComboBox; +class QPushButton; class ActorWidget; class AddMovieWizard : public QWizard { @@ -58,4 +59,22 @@ class MovieGenrePage : public QWizardPage { QComboBox *mGenre; }; +class MovieCoverPage : public QWizardPage { + Q_OBJECT + public: + explicit MovieCoverPage(QWidget *parent = 0); + + private slots: + void selectFile(QWidget *lineEdit); + + private: + QLineEdit *mFrontCover; + QLineEdit *mBackCover; + QLineEdit *mGeneralCover; + QPushButton *mSelectFront; + QPushButton *mSelectBack; + QPushButton *mSelectGeneral; + QString mLastOpenedDir; +}; + #endif -- cgit v1.2.3-70-g09d2