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

@ -1,12 +1,14 @@
#ifndef SCRAPER_RESULTS_PAGINATOR_H
#define SCRAPER_RESULTS_PAGINATOR_H
#include "themable.h"
#include <QWidget>
class QToolButton;
class QLabel;
class ScraperResultsPaginator : public QWidget
class ScraperResultsPaginator : public QWidget, protected Themable
{
Q_OBJECT
public:
@ -18,8 +20,6 @@ signals:
void loadNextPage();
void loadPreviousPage();
public slots:
private:
QToolButton *nextPage;
QToolButton *previousPage;
@ -29,6 +29,9 @@ private:
int currentPage;
QString customLabel;
protected:
void applyTheme() override;
};
#endif // SCRAPER_RESULTS_PAGINATOR_H