Files
yacreader/YACReaderLibrary/comic_vine/scraper_scroll_label.h

30 lines
525 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() override;
};
#endif // SCRAPER_SCROLL_LABEL_H