2016-07-04 23:26:48 +02:00
|
|
|
#ifndef DIALOGS_OPTIONCATEGORYFILTERMODEL_H
|
|
|
|
#define DIALOGS_OPTIONCATEGORYFILTERMODEL_H
|
2015-04-22 18:57:44 +02:00
|
|
|
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
|
|
|
|
namespace Dialogs {
|
|
|
|
|
|
|
|
class OptionCategoryFilterModel : public QSortFilterProxyModel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit OptionCategoryFilterModel(QObject *parent = nullptr);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-07-04 23:26:48 +02:00
|
|
|
#endif // DIALOGS_OPTIONCATEGORYFILTERMODEL_H
|