pollymc/gui/groupview/GroupedProxyModel.h

16 lines
358 B
C
Raw Normal View History

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