2015-10-11 17:56:31 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-02-01 10:44:47 +00:00
|
|
|
#include "groupview/GroupedProxyModel.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A proxy model that is responsible for sorting instances into groups
|
|
|
|
*/
|
|
|
|
class InstanceProxyModel : public GroupedProxyModel
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit InstanceProxyModel(QObject *parent = 0);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const;
|
|
|
|
};
|