summaryrefslogtreecommitdiffstats
path: root/application/InstanceProxyModel.h
blob: cc6c1b86e17a1b8aab1ee5ac2e19a2db3f8cd090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#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;
};