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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user