mirror of
https://github.com/YACReader/yacreader
synced 2025-07-25 08:25:03 -04:00
Implemented SelectComic
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user