summaryrefslogtreecommitdiffstats
path: root/moviepropertiesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'moviepropertiesdialog.h')
-rw-r--r--moviepropertiesdialog.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/moviepropertiesdialog.h b/moviepropertiesdialog.h
new file mode 100644
index 0000000..457c5e1
--- /dev/null
+++ b/moviepropertiesdialog.h
@@ -0,0 +1,41 @@
+/*
+ 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 MOVIEPROPERTIESDIALOG_H
+#define MOVIEPROPERTIESDIALOG_H
+
+#include <QDialog>
+
+class QGraphicsView;
+class QGraphicsScene;
+class QPushButton;
+class QTextEdit;
+
+class MoviePropertiesDialog : public QDialog {
+ Q_OBJECT
+ public:
+ MoviePropertiesDialog(int movid, QWidget *parent = 0, Qt::WindowFlags f = 0);
+ ~MoviePropertiesDialog() {};
+
+ private slots:
+ void setPic(int index);
+
+ private:
+ void covers();
+ QGraphicsView *mView;
+ QGraphicsScene *mScene;
+ QPushButton *mNext;
+ QPushButton *mPrev;
+ QPushButton *mClose;
+ QTextEdit *mActors;
+ int mId;
+ int mIndex;
+ QStringList mCovers;
+};
+
+#endif
+