1 #ifndef DIALOGS_OPTIONCATEGORYFILTERMODEL_H 2 #define DIALOGS_OPTIONCATEGORYFILTERMODEL_H 4 #include <QSortFilterProxyModel> 14 virtual bool filterAcceptsRow(
int source_row,
const QModelIndex &sourceParent)
const override;
18 #endif // DIALOGS_OPTIONCATEGORYFILTERMODEL_H OptionCategoryFilterModel(QObject *parent=nullptr)
Constructs an option category filter model.
Provides common dialogs such as AboutDialog, EnterPasswordDialog and SettingsDialog.
virtual bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const override
The OptionCategoryFilterModel class is used by SettingsDialog to filter option categories.