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

35 lines
808 B
C++

#ifndef SEARCH_SINGLE_COMIC_H
#define SEARCH_SINGLE_COMIC_H
#include <QtWidgets>
#include "scraper_checkbox.h"
#include "themable.h"
class ScraperLineEdit;
class QLabel;
class SearchSingleComic : public QWidget, protected Themable
{
Q_OBJECT
public:
SearchSingleComic(QWidget *parent = nullptr);
QString getVolumeInfo() const;
bool getExactMatch() const { return exactMatchCheckBox->isChecked(); }
void setVolumeInfo(const QString &volume);
QString getComicInfo();
int getComicNumber();
void clean();
private:
// ScraperLineEdit *titleEdit;
// ScraperLineEdit *numberEdit;
ScraperLineEdit *volumeEdit;
ScraperCheckBox *exactMatchCheckBox;
QLabel *label;
protected:
void applyTheme(const Theme &theme) override;
};
#endif // SEARCH_SINGLE_COMIC_H