Add toolbar and background theming to YACReader

This commit is contained in:
luisangelsm
2026-01-14 15:51:32 +01:00
parent b46f34adb1
commit 721da42c8c
20 changed files with 482 additions and 37 deletions

View File

@ -3,18 +3,23 @@
#include <QWidget>
#include "themable.h"
class QLabel;
class QPropertyAnimation;
class PageLabelWidget : public QWidget
class PageLabelWidget : public QWidget, protected Themable
{
Q_OBJECT
private:
QLabel *textLabel;
QPropertyAnimation *animation;
QColor infoBackgroundColor;
int fontSizePx = 0;
protected:
void paintEvent(QPaintEvent *) override;
void applyTheme() override;
public:
PageLabelWidget(QWidget *parent);