Add a theme factory to YACReaderLibrary and theme the comic vine dialog

This commit is contained in:
luisangelsm
2026-01-14 19:58:43 +01:00
parent 1cb2f50057
commit 1bd4926b25
30 changed files with 740 additions and 178 deletions

View File

@ -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