Files
yacreader/YACReaderLibrary/comic_vine/scraper_lineedit.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

25 lines
448 B
C++

#ifndef SCRAPPER_LINEEDIT_H
#define SCRAPPER_LINEEDIT_H
#include <QLineEdit>
#include "themable.h"
class QLabel;
class ScraperLineEdit : public QLineEdit, protected Themable
{
Q_OBJECT
public:
ScraperLineEdit(const QString &title, QWidget *widget = nullptr);
protected:
void resizeEvent(QResizeEvent *) override;
void applyTheme(const Theme &theme) override;
private:
QLabel *titleLabel;
};
#endif // SCRAPPER_LINEEDIT_H