#include <modelfilter.hpp>
Public Types | |
enum | FilterMode { CONTAINS_ONE = 0, WILDCARDS = 1, REGEX = 2 } |
Public Slots | |
void | messageFilterUpdated (FilterMode mode, const QString &text) |
void | nodeFilterUpdated (FilterMode mode, const QString &text) |
void | setMessageFilterEnabled (bool enabled) |
void | setNodeFilterEnabled (bool enabled) |
void | setSeverityDebugEnabled (bool enabled) |
void | setSeverityErrorEnabled (bool enabled) |
void | setSeverityInfoEnabled (bool enabled) |
void | setSeverityWarningsEnabled (bool enabled) |
void | setSourceFilterEnabled (bool enabled) |
void | setTimeFilterEnabled (bool enabled) |
void | sourceFilterUpdated (FilterMode mode, const QString &text) |
void | timeMinMaxUpdated (TimePoint min, TimePoint max) |
Public Member Functions | |
ModelFilter (QObject *parent=0) | |
Protected Member Functions | |
virtual bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override |
Protected Attributes | |
bool | _debug_filter_enabled |
bool | _error_filter_enabled |
bool | _info_filter_enabled |
TimePoint | _max |
TimePoint | _min |
bool | _msg_filter_enabled |
FilterMode | _msg_mode |
QString | _msg_text |
QRegExpValidator | _msg_validator |
bool | _node_filter_enabled |
FilterMode | _node_mode |
QString | _node_text |
QRegExpValidator | _node_validator |
bool | _source_filter_enabled |
FilterMode | _source_mode |
QString | _source_text |
QRegExpValidator | _source_validator |
bool | _time_filter_enabled |
bool | _warn_filter_enabled |
Private Member Functions | |
bool | applyFilter (const QString &filter, ModelFilter::FilterMode mode, const QString &text_to_parse, const QRegExpValidator *validator) const |
Definition at line 12 of file modelfilter.hpp.
Enumerator | |
---|---|
CONTAINS_ONE | |
WILDCARDS | |
REGEX |
Definition at line 18 of file modelfilter.hpp.
|
explicit |
Definition at line 5 of file modelfilter.cpp.
|
private |
Definition at line 176 of file modelfilter.cpp.
|
overrideprotectedvirtual |
Definition at line 123 of file modelfilter.cpp.
|
slot |
Definition at line 43 of file modelfilter.cpp.
|
slot |
Definition at line 60 of file modelfilter.cpp.
|
slot |
Definition at line 19 of file modelfilter.cpp.
|
slot |
Definition at line 25 of file modelfilter.cpp.
|
slot |
Definition at line 105 of file modelfilter.cpp.
|
slot |
Definition at line 111 of file modelfilter.cpp.
|
slot |
Definition at line 99 of file modelfilter.cpp.
|
slot |
Definition at line 117 of file modelfilter.cpp.
|
slot |
Definition at line 31 of file modelfilter.cpp.
|
slot |
Definition at line 37 of file modelfilter.cpp.
|
slot |
Definition at line 76 of file modelfilter.cpp.
Definition at line 92 of file modelfilter.cpp.
|
protected |
Definition at line 59 of file modelfilter.hpp.
|
protected |
Definition at line 61 of file modelfilter.hpp.
|
protected |
Definition at line 60 of file modelfilter.hpp.
|
protected |
Definition at line 52 of file modelfilter.hpp.
|
protected |
Definition at line 51 of file modelfilter.hpp.
|
protected |
Definition at line 56 of file modelfilter.hpp.
|
protected |
Definition at line 65 of file modelfilter.hpp.
|
protected |
Definition at line 69 of file modelfilter.hpp.
|
protected |
Definition at line 73 of file modelfilter.hpp.
|
protected |
Definition at line 54 of file modelfilter.hpp.
|
protected |
Definition at line 64 of file modelfilter.hpp.
|
protected |
Definition at line 68 of file modelfilter.hpp.
|
protected |
Definition at line 72 of file modelfilter.hpp.
|
protected |
Definition at line 55 of file modelfilter.hpp.
|
protected |
Definition at line 66 of file modelfilter.hpp.
|
protected |
Definition at line 70 of file modelfilter.hpp.
|
protected |
Definition at line 74 of file modelfilter.hpp.
|
protected |
Definition at line 57 of file modelfilter.hpp.
|
protected |
Definition at line 62 of file modelfilter.hpp.