summaryrefslogtreecommitdiffstats
path: root/addmoviewizard.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-23 12:19:59 +0200
committerArno <am@disconnect.de>2010-05-23 12:19:59 +0200
commitf3b7e335c988cadd463063ca72790a638e44970e (patch)
treef79f92f658c7ef6134284dae9f5ce6dd8be0295e /addmoviewizard.h
parent8827510ec55eda169340b5414bd60eb3ba3bfb79 (diff)
downloadSheMov-f3b7e335c988cadd463063ca72790a638e44970e.tar.gz
SheMov-f3b7e335c988cadd463063ca72790a638e44970e.tar.bz2
SheMov-f3b7e335c988cadd463063ca72790a638e44970e.zip
Added cover page to AddMovieWizard
Finished AddMovieWizard. Added one last page to add covers to movie.
Diffstat (limited to 'addmoviewizard.h')
-rw-r--r--addmoviewizard.h19
1 files changed, 19 insertions, 0 deletions
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