forked from qt-creator/qt-creator
Theming: Fix light colored find widgets style
It is used when e.g. searching the environment widget. Change-Id: I203b9f5e280a8f18f7a38f8e4d7b4540c79f932c Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
7e544073c0
commit
6b4c254bf3
@@ -64,7 +64,8 @@ OutputPaneToggleButtonTextColorChecked=text
|
||||
OutputPaneToggleButtonTextColorUnchecked=text
|
||||
PanelButtonToolBackgroundColorHover=hoverBackground
|
||||
PanelStatusBarBackgroundColor=shadowBackground
|
||||
PanelTextColor=text
|
||||
PanelTextColorLight=text
|
||||
PanelTextColorDark=text
|
||||
PanelsWidgetSeparatorLineColor=0
|
||||
ProgressBarColorError=error
|
||||
ProgressBarColorFinished=ff5aaa3c
|
||||
|
@@ -56,7 +56,8 @@ OutputFormatter_StdOutTextColor=ff000000
|
||||
OutputPaneButtonFlashColor=ffff0000
|
||||
OutputPaneToggleButtonTextColorChecked=ffffffff
|
||||
OutputPaneToggleButtonTextColorUnchecked=ff000000
|
||||
PanelTextColor=brightText
|
||||
PanelTextColorLight=brightText
|
||||
PanelTextColorDark=darkText
|
||||
PanelButtonToolBackgroundColorHover=25ffffff
|
||||
PanelStatusBarBackgroundColor=ffff0000
|
||||
PanelsWidgetSeparatorLineColor=ffbfbcb8
|
||||
|
@@ -103,7 +103,8 @@ public:
|
||||
OutputPaneToggleButtonTextColorChecked,
|
||||
OutputPaneToggleButtonTextColorUnchecked,
|
||||
PanelButtonToolBackgroundColorHover,
|
||||
PanelTextColor,
|
||||
PanelTextColorLight,
|
||||
PanelTextColorDark,
|
||||
PanelsWidgetSeparatorLineColor,
|
||||
PanelStatusBarBackgroundColor,
|
||||
ProgressBarTitleColor,
|
||||
|
@@ -245,8 +245,8 @@ void ManhattanStyle::unpolish(QApplication *app)
|
||||
|
||||
QPalette panelPalette(const QPalette &oldPalette, bool lightColored = false)
|
||||
{
|
||||
Q_UNUSED(lightColored);
|
||||
QColor color = creatorTheme()->color(Theme::PanelTextColor);
|
||||
QColor color = creatorTheme()->color(lightColored ? Theme::PanelTextColorDark
|
||||
: Theme::PanelTextColorLight);
|
||||
QPalette pal = oldPalette;
|
||||
pal.setBrush(QPalette::All, QPalette::WindowText, color);
|
||||
pal.setBrush(QPalette::All, QPalette::ButtonText, color);
|
||||
|
Reference in New Issue
Block a user