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

30 lines
489 B
C++

#ifndef SERIES_QUESTION_H
#define SERIES_QUESTION_H
#include <QWidget>
#include "themable.h"
class QRadioButton;
class QLabel;
class SeriesQuestion : public QWidget, protected Themable
{
Q_OBJECT
public:
SeriesQuestion(QWidget *parent = nullptr);
bool getYes();
void setYes(bool yes = true);
private:
QLabel *questionLabel;
QRadioButton *yes;
QRadioButton *no;
protected:
void applyTheme(const Theme &theme) override;
};
#endif // SERIES_QUESTION_H