Add dark theme

This commit is contained in:
Konstantinos Sideris 2017-11-25 18:19:58 +02:00
parent f36e498503
commit f0ecf6eee6
9 changed files with 139 additions and 19 deletions

View file

@ -39,7 +39,7 @@ public:
void setTheme(QString theme) { theme_ = theme; }
void setTray(bool state) { isTrayEnabled_ = state; }
QString theme() const { return !theme_.isEmpty() ? theme_ : "default"; }
QString theme() const { return !theme_.isEmpty() ? theme_ : "light"; }
bool isTrayEnabled() const { return isTrayEnabled_; }
private:
@ -72,6 +72,8 @@ signals:
void trayOptionChanged(bool value);
private:
void restoreThemeCombo() const;
// Layouts
QVBoxLayout *topLayout_;
QVBoxLayout *mainLayout_;