/* 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 setCover(int index); void nextCover(); void previousCover(); private: void covers(); const QString actorHtml(const QStringList &actors) const; QGraphicsView *mView; QGraphicsScene *mScene; QPushButton *mNext; QPushButton *mPrev; QPushButton *mClose; QTextEdit *mActors; int mId; int mIndex; QStringList mCovers; }; #endif