mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -05:00
Initial implementation of theming
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user