mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -05:00
Add a theme factory to YACReaderLibrary and theme the comic vine dialog
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include <QtWidgets>
|
||||
|
||||
#include "scraper_results_paginator.h"
|
||||
#include "themable.h"
|
||||
|
||||
class QLabel;
|
||||
class VolumeComicsModel;
|
||||
@ -12,7 +13,7 @@ class QModelIndex;
|
||||
class ScraperScrollLabel;
|
||||
class ScraperTableView;
|
||||
|
||||
class SelectComic : public QWidget
|
||||
class SelectComic : public QWidget, protected Themable
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -34,12 +35,16 @@ private slots:
|
||||
void loadPreviousPage();
|
||||
|
||||
private:
|
||||
QLabel *label;
|
||||
QLabel *cover;
|
||||
ScraperScrollLabel *detailLabel;
|
||||
ScraperTableView *tableComics;
|
||||
VolumeComicsModel *model;
|
||||
QString currentVolumeId;
|
||||
ScraperResultsPaginator *paginator;
|
||||
|
||||
protected:
|
||||
void applyTheme() override;
|
||||
};
|
||||
|
||||
#endif // SELECT_COMIC_H
|
||||
|
||||
Reference in New Issue
Block a user