diff options
Diffstat (limited to 'depends/groupview/GroupedProxyModel.h')
-rw-r--r-- | depends/groupview/GroupedProxyModel.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/depends/groupview/GroupedProxyModel.h b/depends/groupview/GroupedProxyModel.h new file mode 100644 index 00000000..cae87ecd --- /dev/null +++ b/depends/groupview/GroupedProxyModel.h @@ -0,0 +1,14 @@ +#pragma once + +#include <QSortFilterProxyModel> + +class GroupedProxyModel : public QSortFilterProxyModel +{ + Q_OBJECT + +public: + GroupedProxyModel(QObject *parent = 0); + +protected: + bool lessThan(const QModelIndex &left, const QModelIndex &right) const; +}; |