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
|
OutputPaneToggleButtonTextColorUnchecked=text
|
||||||
PanelButtonToolBackgroundColorHover=hoverBackground
|
PanelButtonToolBackgroundColorHover=hoverBackground
|
||||||
PanelStatusBarBackgroundColor=shadowBackground
|
PanelStatusBarBackgroundColor=shadowBackground
|
||||||
PanelTextColor=text
|
PanelTextColorLight=text
|
||||||
|
PanelTextColorDark=text
|
||||||
PanelsWidgetSeparatorLineColor=0
|
PanelsWidgetSeparatorLineColor=0
|
||||||
ProgressBarColorError=error
|
ProgressBarColorError=error
|
||||||
ProgressBarColorFinished=ff5aaa3c
|
ProgressBarColorFinished=ff5aaa3c
|
||||||
|
@@ -56,7 +56,8 @@ OutputFormatter_StdOutTextColor=ff000000
|
|||||||
OutputPaneButtonFlashColor=ffff0000
|
OutputPaneButtonFlashColor=ffff0000
|
||||||
OutputPaneToggleButtonTextColorChecked=ffffffff
|
OutputPaneToggleButtonTextColorChecked=ffffffff
|
||||||
OutputPaneToggleButtonTextColorUnchecked=ff000000
|
OutputPaneToggleButtonTextColorUnchecked=ff000000
|
||||||
PanelTextColor=brightText
|
PanelTextColorLight=brightText
|
||||||
|
PanelTextColorDark=darkText
|
||||||
PanelButtonToolBackgroundColorHover=25ffffff
|
PanelButtonToolBackgroundColorHover=25ffffff
|
||||||
PanelStatusBarBackgroundColor=ffff0000
|
PanelStatusBarBackgroundColor=ffff0000
|
||||||
PanelsWidgetSeparatorLineColor=ffbfbcb8
|
PanelsWidgetSeparatorLineColor=ffbfbcb8
|
||||||
|
@@ -103,7 +103,8 @@ public:
|
|||||||
OutputPaneToggleButtonTextColorChecked,
|
OutputPaneToggleButtonTextColorChecked,
|
||||||
OutputPaneToggleButtonTextColorUnchecked,
|
OutputPaneToggleButtonTextColorUnchecked,
|
||||||
PanelButtonToolBackgroundColorHover,
|
PanelButtonToolBackgroundColorHover,
|
||||||
PanelTextColor,
|
PanelTextColorLight,
|
||||||
|
PanelTextColorDark,
|
||||||
PanelsWidgetSeparatorLineColor,
|
PanelsWidgetSeparatorLineColor,
|
||||||
PanelStatusBarBackgroundColor,
|
PanelStatusBarBackgroundColor,
|
||||||
ProgressBarTitleColor,
|
ProgressBarTitleColor,
|
||||||
|
@@ -245,8 +245,8 @@ void ManhattanStyle::unpolish(QApplication *app)
|
|||||||
|
|
||||||
QPalette panelPalette(const QPalette &oldPalette, bool lightColored = false)
|
QPalette panelPalette(const QPalette &oldPalette, bool lightColored = false)
|
||||||
{
|
{
|
||||||
Q_UNUSED(lightColored);
|
QColor color = creatorTheme()->color(lightColored ? Theme::PanelTextColorDark
|
||||||
QColor color = creatorTheme()->color(Theme::PanelTextColor);
|
: Theme::PanelTextColorLight);
|
||||||
QPalette pal = oldPalette;
|
QPalette pal = oldPalette;
|
||||||
pal.setBrush(QPalette::All, QPalette::WindowText, color);
|
pal.setBrush(QPalette::All, QPalette::WindowText, color);
|
||||||
pal.setBrush(QPalette::All, QPalette::ButtonText, color);
|
pal.setBrush(QPalette::All, QPalette::ButtonText, color);
|
||||||
|
Reference in New Issue
Block a user