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

@ -18,6 +18,7 @@
#include "scroll_management.h"
#include "mouse_handler.h"
#include "themable.h"
class ComicDB;
class Comic;
@ -32,7 +33,7 @@ class Bookmarks;
class PageLabelWidget;
class NotificationsLabelWidget;
class Viewer : public QScrollArea, public ScrollManagement
class Viewer : public QScrollArea, public ScrollManagement, protected Themable
{
Q_OBJECT
public:
@ -186,6 +187,9 @@ private:
//! Mouse handler
std::unique_ptr<YACReader::MouseHandler> mouseHandler;
protected:
void applyTheme() override;
public:
Viewer(QWidget *parent = nullptr);
~Viewer();