forked from qt-creator/qt-creator
Themes: Enable UI recoloring for flat themes
Change-Id: I1907c42a769124b7505bd7afaf6c4da910f3f407 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -108,6 +108,11 @@ QColor StyleHelper::baseColor(bool lightColored)
|
||||
return m_baseColor.lighter(230);
|
||||
}
|
||||
|
||||
bool StyleHelper::isBaseColorDefault()
|
||||
{
|
||||
return m_requestedBaseColor == DEFAULT_BASE_COLOR;
|
||||
}
|
||||
|
||||
QColor StyleHelper::highlightColor(bool lightColored)
|
||||
{
|
||||
QColor result = baseColor(lightColored);
|
||||
|
Reference in New Issue
Block a user