summaryrefslogtreecommitdiffstats
path: root/moviepropertiesdialog.h
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-31 17:31:26 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-31 17:31:26 +0000
commit68ee8c0796a663ec87b913da33d48cf5481ddb35 (patch)
tree70f852b418049324f79c381e8413f3edf4d261ac /moviepropertiesdialog.h
parent6423dcb88055f3553981f9fc8816b42df871c706 (diff)
downloadSheMov-68ee8c0796a663ec87b913da33d48cf5481ddb35.tar.gz
SheMov-68ee8c0796a663ec87b913da33d48cf5481ddb35.tar.bz2
SheMov-68ee8c0796a663ec87b913da33d48cf5481ddb35.zip
-started properties dialog, does nothing atm, but compiles :)
git-svn-id: file:///var/svn/repos2/shemov/trunk@396 f440f766-f032-0410-8965-dc7d17de2ca0
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
+