forked from qt-creator/qt-creator
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:
@@ -145,8 +145,11 @@ public:
|
||||
bool hasFile(const QModelIndex &index) const
|
||||
{ return taskModel()->hasFile(mapToSource(index)); }
|
||||
|
||||
void updateFilterProperties(const QString &filterText, Qt::CaseSensitivity caseSensitivity,
|
||||
bool isRegex);
|
||||
void updateFilterProperties(
|
||||
const QString &filterText,
|
||||
Qt::CaseSensitivity caseSensitivity,
|
||||
bool isRegex,
|
||||
bool isInverted);
|
||||
|
||||
private:
|
||||
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
|
||||
@@ -157,6 +160,7 @@ private:
|
||||
bool m_includeWarnings;
|
||||
bool m_includeErrors;
|
||||
bool m_filterStringIsRegexp = false;
|
||||
bool m_filterIsInverted = false;
|
||||
Qt::CaseSensitivity m_filterCaseSensitivity = Qt::CaseInsensitive;
|
||||
QList<Core::Id> m_categoryIds;
|
||||
QString m_filterText;
|
||||
|
||||
Reference in New Issue
Block a user