mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
Add a theme factory to YACReaderLibrary and theme the comic vine dialog
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include "scraper_results_paginator.h"
|
||||
#include "selected_volume_info.h"
|
||||
#include "volume_search_query.h"
|
||||
#include "themable.h"
|
||||
|
||||
class QLabel;
|
||||
class VolumesModel;
|
||||
@ -17,7 +18,7 @@ class ScraperScrollLabel;
|
||||
class ScraperTableView;
|
||||
class ScraperLineEdit;
|
||||
|
||||
class SelectVolume : public QWidget
|
||||
class SelectVolume : public QWidget, protected Themable
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -40,6 +41,7 @@ private slots:
|
||||
void loadPreviousPage();
|
||||
|
||||
private:
|
||||
QLabel *label;
|
||||
QLabel *cover;
|
||||
ScraperScrollLabel *detailLabel;
|
||||
ScraperTableView *tableVolumes;
|
||||
@ -49,6 +51,9 @@ private:
|
||||
QString selectedVolumeDescription;
|
||||
VolumeSearchQuery currentSearchQuery;
|
||||
ScraperResultsPaginator *paginator;
|
||||
|
||||
protected:
|
||||
void applyTheme() override;
|
||||
};
|
||||
|
||||
#endif // SELECT_VOLUME_H
|
||||
|
||||
Reference in New Issue
Block a user