Initial implementation of theming

This commit is contained in:
luisangelsm
2026-02-19 17:39:22 +01:00
parent ed28c94f66
commit 044176d6b7
303 changed files with 4634 additions and 2119 deletions

View File

@ -2,15 +2,29 @@
#define WHATSNEWDIALOG_H
#include "rounded_corners_dialog.h"
#include <QObject>
#include "themable.h"
class QLabel;
class QPushButton;
namespace YACReader {
class WhatsNewDialog : public RoundedCornersDialog
class WhatsNewDialog : public RoundedCornersDialog, protected Themable
{
Q_OBJECT
public:
explicit WhatsNewDialog(QWidget *parent = nullptr);
protected:
void applyTheme(const Theme &theme) override;
private:
QLabel *headerImageLabel;
QLabel *headerLabel;
QLabel *versionLabel;
QLabel *textLabel;
QPushButton *closeButton;
QString htmlTemplate;
};
}