aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/outputwindow.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-06-04 16:34:00 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-06-12 12:20:31 +0000
commit2391ef6088c14e41a6b6183fab43ca365eb5be42 (patch)
treeb990e1f7a3ffffb315ff140e78208e742d4fb38e /src/plugins/coreplugin/outputwindow.h
parentb94c725f0f3e3ec63424c8a9feb09837b6e5285e (diff)
Output panes: Improve the way to signal that filtering is active
At the moment, background and foreground colors of an output pane are changed (via the widget's palette) when filtering is active, in order to make it clear to the user that the output is being tampered with. There are several problems there: - The chosen background color is quite garish. - More importantly, the palette change has no effect in the compile and app output panes, because their output is explicitly formatted and thus not affected by the general text color change. As a result, the output may no longer be readable. We fix this by choosing a less intrusive approach that simply darkens (or lightens) the pane's background color a bit when filtering is active. This is still clearly visible to the user. Change-Id: I41e053b4b218be57fe7655e314d4ebf93f59f505 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/outputwindow.h')
-rw-r--r--src/plugins/coreplugin/outputwindow.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/outputwindow.h b/src/plugins/coreplugin/outputwindow.h
index f89ad521f7..88692d5ab7 100644
--- a/src/plugins/coreplugin/outputwindow.h
+++ b/src/plugins/coreplugin/outputwindow.h
@@ -76,8 +76,6 @@ public:
float fontZoom() const;
void setFontZoom(float zoom);
void setWheelZoomEnabled(bool enabled);
- void setHighlightBgColor(const QColor &bgColor);
- void setHighlightTextColor(const QColor &textColor);
void updateFilterProperties(const QString &filterText, Qt::CaseSensitivity caseSensitivity, bool regexp);