1 #ifndef MODELFILTER_HPP 2 #define MODELFILTER_HPP 5 #include <QSortFilterProxyModel> 8 #include <QRegExpValidator> 10 typedef std::chrono::high_resolution_clock::time_point
TimePoint;
45 const QString& text_to_parse,
const QRegExpValidator *validator)
const;
49 const QModelIndex &sourceParent)
const override;
77 #endif // MODELFILTER_HPP QRegExpValidator _msg_validator
std::chrono::high_resolution_clock::time_point TimePoint
virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override
bool _error_filter_enabled
void timeMinMaxUpdated(TimePoint min, TimePoint max)
bool _time_filter_enabled
bool _debug_filter_enabled
std::chrono::high_resolution_clock::time_point TimePoint
void setSourceFilterEnabled(bool enabled)
void sourceFilterUpdated(FilterMode mode, const QString &text)
QRegExpValidator _source_validator
void setNodeFilterEnabled(bool enabled)
void messageFilterUpdated(FilterMode mode, const QString &text)
void setSeverityInfoEnabled(bool enabled)
void setSeverityErrorEnabled(bool enabled)
bool _info_filter_enabled
bool _source_filter_enabled
void setTimeFilterEnabled(bool enabled)
QRegExpValidator _node_validator
void nodeFilterUpdated(FilterMode mode, const QString &text)
void setSeverityDebugEnabled(bool enabled)
void setSeverityWarningsEnabled(bool enabled)
bool applyFilter(const QString &filter, ModelFilter::FilterMode mode, const QString &text_to_parse, const QRegExpValidator *validator) const
void setMessageFilterEnabled(bool enabled)
bool _warn_filter_enabled
ModelFilter(QObject *parent=0)
bool _node_filter_enabled