Output panes: Allow to invert the meaning of the filter field

That is, show only the non-matching lines.

Task-number: QTCREATORBUG-19596
Change-Id: Iac06a7c4531688dbf97c7d5c4d0cdb80979b5f95
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2019-11-18 13:56:59 +01:00
parent 9298bf8ff8
commit aacfd340ca
10 changed files with 61 additions and 21 deletions

View File

@@ -378,7 +378,7 @@ void AppOutputPane::updateFilter()
const int index = currentIndex();
if (index != -1) {
m_runControlTabs.at(index).window->updateFilterProperties(
filterText(), filterCaseSensitivity(), filterUsesRegexp());
filterText(), filterCaseSensitivity(), filterUsesRegexp(), filterIsInverted());
}
}
@@ -724,7 +724,7 @@ void AppOutputPane::tabChanged(int i)
if (i != -1 && index != -1) {
const RunControlTab &controlTab = m_runControlTabs[index];
controlTab.window->updateFilterProperties(filterText(), filterCaseSensitivity(),
filterUsesRegexp());
filterUsesRegexp(), filterIsInverted());
enableButtons(controlTab.runControl);
} else {
enableDefaultButtons();