|
swift
|
Filter for status messages. More...
Public Member Functions | |
| CStatusMessageFilter (swift::misc::CStatusMessage::StatusSeverity severity, const QString &text, const QString &category) | |
| Constructor. | |
| swift::misc::CStatusMessageList | filter (const swift::misc::CStatusMessageList &inContainer) const |
| Used container data. More... | |
| swift::misc::CVariant | getAsValueObject () const |
| Return an implementation-specific value object representing the filter. More... | |
Public Member Functions inherited from swift::gui::models::IModelFilter< swift::misc::CStatusMessageList > | |
| IModelFilter (bool enabled=true) | |
| Constructor. | |
| virtual | ~IModelFilter ()=default |
| Destructor. | |
| bool | isValid () const |
| Anything to do? | |
| virtual bool | isEnabled () const |
| Enabled? | |
| void | setEnabled (bool enable) |
| Enabled? | |
Additional Inherited Members | |
Protected Member Functions inherited from swift::gui::models::IModelFilter< swift::misc::CStatusMessageList > | |
| bool | stringMatchesFilterExpression (const QString &value, const QString &filter, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const |
| Standard string search supporting wildcard at begin and end: "*xyz", "abc*". | |
| QString | stripWildcard (const QString &value) const |
| Remove the * wildcards. | |
Protected Attributes inherited from swift::gui::models::IModelFilter< swift::misc::CStatusMessageList > | |
| bool | m_valid |
| is filter valid? | |
Filter for status messages.
Definition at line 23 of file statusmessagefilter.h.
|
virtual |
Used container data.
Implements swift::gui::models::IModelFilter< swift::misc::CStatusMessageList >.
Definition at line 21 of file statusmessagefilter.cpp.
|
virtual |
Return an implementation-specific value object representing the filter.
Reimplemented from swift::gui::models::IModelFilter< swift::misc::CStatusMessageList >.
Definition at line 51 of file statusmessagefilter.cpp.