mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
Add toolbar and background theming to YACReader
This commit is contained in:
@ -85,8 +85,8 @@ public:
|
||||
bool getEnlargeImages() { return settings->value(ENLARGE_IMAGES, true).toBool(); }
|
||||
void setEnlargeImages(bool b) { settings->setValue(ENLARGE_IMAGES, b); }
|
||||
|
||||
QColor getBackgroundColor() { return settings->value(BACKGROUND_COLOR).value<QColor>(); }
|
||||
void setBackgroundColor(const QColor &color) { settings->value(BACKGROUND_COLOR, color); }
|
||||
QColor getBackgroundColor(const QColor &color) { return settings->value(BACKGROUND_COLOR, color).value<QColor>(); }
|
||||
void setBackgroundColor(const QColor &color) { settings->setValue(BACKGROUND_COLOR, color); }
|
||||
bool getShowToolbars() { return settings->value(SHOW_TOOLBARS).toBool(); }
|
||||
void setShowToolbars(bool b) { settings->setValue(SHOW_TOOLBARS, b); }
|
||||
bool getShowInformation() { return settings->value(SHOW_INFO, false).toBool(); }
|
||||
|
||||
Reference in New Issue
Block a user