mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 21:44:43 -04:00
Inject a theme to the comics view manager.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
365bf451b1
commit
f808fcfe2e
@ -4,6 +4,7 @@
|
||||
#include <QtWidgets>
|
||||
|
||||
#include "yacreader_global_gui.h"
|
||||
#include "theme.h"
|
||||
|
||||
class LibraryWindow;
|
||||
|
||||
@ -17,6 +18,7 @@ class EmptyLabelWidget;
|
||||
class EmptySpecialListWidget;
|
||||
class EmptyReadingListWidget;
|
||||
class NoSearchResultsWidget;
|
||||
class Theme;
|
||||
|
||||
using namespace YACReader;
|
||||
|
||||
@ -24,7 +26,7 @@ class YACReaderComicsViewsManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderComicsViewsManager(QSettings *settings, LibraryWindow *parent = nullptr);
|
||||
explicit YACReaderComicsViewsManager(QSettings *settings, const Theme &theme, LibraryWindow *parent = nullptr);
|
||||
|
||||
QWidget *containerWidget();
|
||||
|
||||
@ -51,6 +53,8 @@ protected:
|
||||
GridComicsView *gridComicsView;
|
||||
InfoComicsView *infoComicsView;
|
||||
|
||||
Theme theme;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
Reference in New Issue
Block a user