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

@ -3,16 +3,16 @@
#include <QScrollArea>
#include "themable.h"
class QLabel;
class ScraperScrollLabel : public QScrollArea
class ScraperScrollLabel : public QScrollArea, protected Themable
{
Q_OBJECT
public:
explicit ScraperScrollLabel(QWidget *parent = nullptr);
signals:
public slots:
void setText(const QString &text);
void setAltText(const QString &text);
@ -21,6 +21,9 @@ public slots:
private:
QLabel *textLabel;
protected:
void applyTheme() override;
};
#endif // SCRAPER_SCROLL_LABEL_H