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,13 +2,16 @@
#define YACREADER_LIBRARY_ITEM_WIDGET_H
#include <QWidget>
#include <QPixmap>
#include "themable.h"
class QLabel;
class QToolButton;
class QMouseEvent;
class QEvent;
class YACReaderLibraryItemWidget : public QWidget
class YACReaderLibraryItemWidget : public QWidget, protected Themable
{
Q_OBJECT
@ -32,12 +35,16 @@ public slots:
private:
QLabel *icon;
QLabel *nameLabel;
QLabel *optionsIconLabel;
QToolButton *options;
QToolButton *up;
QToolButton *down;
bool isSelected;
protected:
void applyTheme(const Theme &theme) override;
};
#endif // YACREADER_LIBRARY_ITEM_WIDGET_H