mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
27 lines
448 B
C++
27 lines
448 B
C++
#ifndef SCRAPER_SCROLL_LABEL_H
|
|
#define SCRAPER_SCROLL_LABEL_H
|
|
|
|
#include <QScrollArea>
|
|
|
|
class QLabel;
|
|
|
|
class ScraperScrollLabel : public QScrollArea
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ScraperScrollLabel(QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
void setText(const QString &text);
|
|
void setAltText(const QString &text);
|
|
|
|
void openLink(const QString &link);
|
|
|
|
private:
|
|
QLabel *textLabel;
|
|
};
|
|
|
|
#endif // SCRAPER_SCROLL_LABEL_H
|