Flat theme: Same disabled color all side/tool/status bar icons

And adapting darkframe.creatortheme accordingly to match Diana's
specification

Change-Id: I9e1f62869ff91d7cfd3a26f51d26225d549a0965
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-03-17 12:53:41 +01:00
parent 1584328da9
commit bc481dc399
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ shadowBackground=ff404244
text=ff000000 text=ff000000
textDisabled=55000000 textDisabled=55000000
toolBarItem=b6fbfdff toolBarItem=b6fbfdff
toolBarItemDisabled=88a4a6a8 toolBarItemDisabled=60a4a6a8
hoverBackground=22ffffff hoverBackground=22ffffff
selectedBackground=66000000 selectedBackground=66000000
normalBackground=ffffffff normalBackground=ffffffff

View File

@@ -329,7 +329,7 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const
painter->restore(); painter->restore();
} }
if (!enabled) if (!enabled && creatorTheme()->widgetStyle() == Theme::StyleDefault)
painter->setOpacity(0.7); painter->setOpacity(0.7);
if (drawIcon) { if (drawIcon) {