mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
18 lines
335 B
C++
18 lines
335 B
C++
#ifndef SCRAPER_CHECKBOX_H
|
|
#define SCRAPER_CHECKBOX_H
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include "themable.h"
|
|
|
|
class ScraperCheckBox : public QCheckBox, protected Themable
|
|
{
|
|
public:
|
|
ScraperCheckBox(const QString &text, QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void applyTheme(const Theme &theme) override;
|
|
};
|
|
|
|
#endif // SCRAPER_CHECKBOX_H
|