From 68ee8c0796a663ec87b913da33d48cf5481ddb35 Mon Sep 17 00:00:00 2001 From: am Date: Fri, 31 Jul 2009 17:31:26 +0000 Subject: -started properties dialog, does nothing atm, but compiles :) git-svn-id: file:///var/svn/repos2/shemov/trunk@396 f440f766-f032-0410-8965-dc7d17de2ca0 --- moviepropertiesdialog.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 moviepropertiesdialog.h (limited to 'moviepropertiesdialog.h') 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 + +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 + -- cgit v1.2.3-70-g09d2