Filter proxy that keeps childen when filtered
| 24 | |
| 25 | // Filter proxy that keeps childen when filtered |
| 26 | class CustomFilterProxyModel : public QSortFilterProxyModel |
| 27 | { |
| 28 | Q_OBJECT |
| 29 | |
| 30 | public: |
| 31 | CustomFilterProxyModel(QObject* parent = nullptr); |
| 32 | |
| 33 | protected: |
| 34 | bool filterAcceptsRow(int sourceRow, const QModelIndex& sourceParent) const override; |
| 35 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected