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:
@ -7,7 +7,25 @@
|
||||
class EmptySpecialListWidget : public EmptyContainerInfo
|
||||
{
|
||||
public:
|
||||
enum SpecialListType {
|
||||
None,
|
||||
Favorites,
|
||||
Reading,
|
||||
Recent
|
||||
};
|
||||
|
||||
EmptySpecialListWidget(QWidget *parent = nullptr);
|
||||
|
||||
void showFavorites();
|
||||
void showReading();
|
||||
void showRecent();
|
||||
|
||||
protected:
|
||||
void applyTheme(const Theme &theme) override;
|
||||
|
||||
private:
|
||||
void updateIcon();
|
||||
SpecialListType currentType = None;
|
||||
};
|
||||
|
||||
#endif // EMPTY_SPECIAL_LIST_H
|
||||
|
||||
Reference in New Issue
Block a user