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

@ -4,6 +4,7 @@
#include <QtWidgets>
#include "yacreader_global_gui.h"
#include "themable.h"
class LibraryWindow;
@ -16,11 +17,12 @@ class FolderContentView;
class EmptyLabelWidget;
class EmptySpecialListWidget;
class EmptyReadingListWidget;
class EmptyFolderWidget;
class NoSearchResultsWidget;
using namespace YACReader;
class YACReaderContentViewsManager : public QObject
class YACReaderContentViewsManager : public QObject, protected Themable
{
Q_OBJECT
public:
@ -36,6 +38,7 @@ public:
EmptyLabelWidget *emptyLabelWidget;
EmptySpecialListWidget *emptySpecialList;
EmptyReadingListWidget *emptyReadingList;
EmptyFolderWidget *emptyFolderWidget;
NoSearchResultsWidget *noSearchResultsWidget;
@ -56,6 +59,8 @@ protected:
GridComicsView *gridComicsView;
InfoComicsView *infoComicsView;
void applyTheme(const Theme &theme) override;
signals:
public slots:
@ -67,6 +72,7 @@ public slots:
void showEmptyLabelView();
void showEmptySpecialList();
void showEmptyReadingListWidget();
void showEmptyFolderWidget();
void showNoSearchResultsView();
protected slots: