Implemented SelectComic

This commit is contained in:
Luis Ángel San Martín
2013-10-25 07:48:11 +02:00
parent 3d48eeb12d
commit 25072a7135
13 changed files with 291 additions and 57 deletions

View File

@ -3,6 +3,13 @@
#include <QWidget>
class QLabel;
class VolumeComicsModel;
class QModelIndex;
class ScraperScrollLabel;
class ScraperTableView;
class SelectComic : public QWidget
{
Q_OBJECT
@ -10,6 +17,18 @@ public:
SelectComic(QWidget * parent = 0);
void load(const QString & json);
virtual ~SelectComic();
public slots:
void loadComicInfo(const QModelIndex & mi);
void setCover(const QByteArray &);
void setDescription(const QString & jsonDetail);
QString getSelectedComicId();
private:
QLabel * cover;
ScraperScrollLabel * detailLabel;
ScraperTableView * tableComics;
VolumeComicsModel * model;
};
#endif // SELECT_COMIC_H