Files
yacreader/YACReaderLibrary/comic_vine/scraper_scroll_label.h
luisangelsm edd5bbc69c Make Themable pass the current Theme through applyTheme
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
2026-02-19 18:06:31 +01:00

30 lines
543 B
C++

#ifndef SCRAPER_SCROLL_LABEL_H
#define SCRAPER_SCROLL_LABEL_H
#include <QScrollArea>
#include "themable.h"
class QLabel;
class ScraperScrollLabel : public QScrollArea, protected Themable
{
Q_OBJECT
public:
explicit ScraperScrollLabel(QWidget *parent = nullptr);
public slots:
void setText(const QString &text);
void setAltText(const QString &text);
void openLink(const QString &link);
private:
QLabel *textLabel;
protected:
void applyTheme(const Theme &theme) override;
};
#endif // SCRAPER_SCROLL_LABEL_H