From 1bfe48de7512a1f80a721c89127f1491641fd7a7 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 10 Sep 2017 12:59:21 +0300 Subject: Style change again --- include/ui/Theme.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'include/ui/Theme.h') diff --git a/include/ui/Theme.h b/include/ui/Theme.h index 9806686c..c2e809e5 100644 --- a/include/ui/Theme.h +++ b/include/ui/Theme.h @@ -10,7 +10,7 @@ enum class AvatarType { Icon, Image, Letter }; namespace sidebar { -static const int SmallSize = 60; +static const int SmallSize = 60; static const int NormalSize = 300; } // Default font size. @@ -32,35 +32,35 @@ enum class ButtonIconPlacement { LeftIcon, RightIcon }; enum class ProgressType { DeterminateProgress, IndeterminateProgress }; enum class Color { - Black, - BrightWhite, - FadedWhite, - MediumWhite, - DarkGreen, - LightGreen, - BrightGreen, - Gray, - Red, - Blue, - Transparent + Black, + BrightWhite, + FadedWhite, + MediumWhite, + DarkGreen, + LightGreen, + BrightGreen, + Gray, + Red, + Blue, + Transparent }; } // namespace ui class Theme : public QObject { - Q_OBJECT + Q_OBJECT public: - explicit Theme(QObject *parent = 0); - ~Theme(); + explicit Theme(QObject *parent = 0); + ~Theme(); - QColor getColor(const QString &key) const; + QColor getColor(const QString &key) const; - void setColor(const QString &key, const QColor &color); - void setColor(const QString &key, ui::Color color); + void setColor(const QString &key, const QColor &color); + void setColor(const QString &key, ui::Color color); private: - QColor rgba(int r, int g, int b, qreal a) const; + QColor rgba(int r, int g, int b, qreal a) const; - QHash colors_; + QHash colors_; }; -- cgit 1.5.1