aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/stylehelper.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@theqtcompany.com>2016-03-02 18:25:42 +0100
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2016-03-02 17:32:42 +0000
commit0f8e3f20007733e9083512157d8c8d4a1cc6ceaf (patch)
treea55b68580c44e874a793cfb504aa76290c5e99b9 /src/libs/utils/stylehelper.h
parenta6d43e317b35a95aa042ebfa54810175a97cfcb6 (diff)
Flat themes: Implement Diana's separators
The flat theme as defined by Diana has the motto: "Remove unnecessary lines, avoid gradients". This patch implemets that for the flat themes, while leaving the default theme unchanged. The only tweak that touches all styles is that "Styled Separator" has for consitency now the same look as standard toolbar separators. Change-Id: I80ab0d9bf5ca20ab0daa57baf5a7e095a4a0c653 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/stylehelper.h')
-rw-r--r--src/libs/utils/stylehelper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/stylehelper.h b/src/libs/utils/stylehelper.h
index 5ac91df433e..d327217a937 100644
--- a/src/libs/utils/stylehelper.h
+++ b/src/libs/utils/stylehelper.h
@@ -61,6 +61,7 @@ public:
static QColor highlightColor(bool lightColored = false);
static QColor shadowColor(bool lightColored = false);
static QColor borderColor(bool lightColored = false);
+ static QColor separatorColor();
static QColor buttonTextColor() { return QColor(0x4c4c4c); }
static QColor mergedColors(const QColor &colorA, const QColor &colorB, int factor = 50);