|
swift
|
Country filter. More...
Public Member Functions | |
| CCountryFilter (const QString &isoCode, const QString &name) | |
| Constructor. | |
| swift::misc::CCountryList | filter (const swift::misc::CCountryList &inContainer) const |
| Used container data. More... | |
Public Member Functions inherited from swift::gui::models::IModelFilter< swift::misc::CCountryList > | |
| 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? | |
| virtual swift::misc::CVariant | getAsValueObject () const |
| Return an implementation-specific value object representing the filter. | |
Additional Inherited Members | |
Protected Member Functions inherited from swift::gui::models::IModelFilter< swift::misc::CCountryList > | |
| 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::CCountryList > | |
| bool | m_valid |
| is filter valid? | |
Country filter.
Definition at line 18 of file countryfilter.h.
|
virtual |
Used container data.
Implements swift::gui::models::IModelFilter< swift::misc::CCountryList >.
Definition at line 18 of file countryfilter.cpp.