8 #include "ui_countryfilterbar.h"
18 using namespace swift::misc::network;
30 ui->le_IsoCode->setValidator(ucv);
40 return std::make_unique<CCountryFilter>(ui->le_IsoCode->text(), ui->le_Name->text());
45 ui->filter_Buttons->onRowCountChanged(count, withFilter);
50 ui->le_IsoCode->clear();
virtual ~CCountryFilterBar()
Destructor.
virtual void clearForm()
Clear form.
virtual std::unique_ptr< swift::gui::models::IModelFilter< swift::misc::CCountryList > > createModelFilter() const
Get the filter, this is the filter itself, not its widget or dialog.
virtual void onRowCountChanged(int count, bool withFilter)
Row count has been changed.
Filter to search data sets.
Models to be used with views, mainly QTableView.
Free functions in swift::misc.