qtutilities/settingsdialog/optioncategoryfiltermodel.h

23 lines
430 B
C
Raw Normal View History

2015-04-22 18:57:44 +02:00
#ifndef OPTIONCATEGORYFILTERMODEL_H
#define OPTIONCATEGORYFILTERMODEL_H
#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;
};
}
#endif // OPTIONCATEGORYFILTERMODEL_H