sneedmc/application/groupview/GroupedProxyModel.h

16 lines
358 B
C
Raw Normal View History

2014-01-31 21:51:45 +00:00
#pragma once
#include <QSortFilterProxyModel>
class GroupedProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
GroupedProxyModel(QObject *parent = 0);
protected:
2014-02-04 00:40:51 +00:00
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const;
2014-01-31 21:51:45 +00:00
};