summaryrefslogtreecommitdiffstats
path: root/addmoviewizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'addmoviewizard.h')
-rw-r--r--addmoviewizard.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/addmoviewizard.h b/addmoviewizard.h
new file mode 100644
index 0000000..adc293c
--- /dev/null
+++ b/addmoviewizard.h
@@ -0,0 +1,61 @@
+/*
+ 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 ADDMOVIEWIZARD_H
+#define ADDMOVIEWIZARD_H
+
+#include <QWizard>
+#include <QWizardPage>
+
+class QLineEdit;
+class QSpinBox;
+class QComboBox;
+class ActorWidget;
+
+class AddMovieWizard : public QWizard {
+ Q_OBJECT
+ public:
+ explicit AddMovieWizard(QWidget *parent = 0);
+ void accept();
+};
+
+class MovieNamePage : public QWizardPage {
+ Q_OBJECT
+ public:
+ explicit MovieNamePage(QWidget *parent = 0);
+
+ private:
+ QLineEdit *mMovieName;
+ QSpinBox *mSeriesNo;
+ QSpinBox *mPartNo;
+ QSpinBox *mQuality;
+ QSpinBox *mDvdNo;
+};
+
+class MovieActorPage : public QWizardPage {
+ Q_OBJECT
+ public:
+ explicit MovieActorPage(QWidget *parent = 0);
+
+ private slots:
+ void addActor(const QString &actor);
+
+ private:
+ ActorWidget *mActorWidget;
+
+};
+
+class MovieGenrePage : public QWizardPage {
+ Q_OBJECT
+ public:
+ explicit MovieGenrePage(QWidget *parent = 0);
+
+ private:
+ QComboBox *mGenre;
+};
+
+#endif