Qt Utilities: settingsdialog/optioncategoryfiltermodel.h Source File

Qt Utilities 6.21.3 Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models

Loading...
Searching...
No Matches
optioncategoryfiltermodel.h
Go to the documentation of this file.
1#ifndef DIALOGS_OPTIONCATEGORYFILTERMODEL_H
2#define DIALOGS_OPTIONCATEGORYFILTERMODEL_H
3
4#include <QSortFilterProxyModel>
5
6namespace QtUtilities {
7
8 class OptionCategoryFilterModel : public QSortFilterProxyModel {
9 Q_OBJECT
10public:
11 explicit OptionCategoryFilterModel(QObject *parent = nullptr);
12
13protected:
14 bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const override;
15};
16} // namespace QtUtilities
17
18#endif // DIALOGS_OPTIONCATEGORYFILTERMODEL_H
QtUtilities::OptionCategoryFilterModel::OptionCategoryFilterModel
OptionCategoryFilterModel(QObject *parent=nullptr)
Constructs an option category filter model.
Definition optioncategoryfiltermodel.cpp:16
QtUtilities::OptionCategoryFilterModel::filterAcceptsRow
bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const override
Definition optioncategoryfiltermodel.cpp:21
QtUtilities
!
Definition trylocker.h:8