pollymc/application/InstanceProxyModel.h

17 lines
437 B
C
Raw Normal View History

2015-10-11 23:26:31 +05:30
#pragma once
#include "groupview/GroupedProxyModel.h"
/**
* A proxy model that is responsible for sorting instances into groups
*/
class InstanceProxyModel : public GroupedProxyModel
{
public:
2018-07-15 18:21:05 +05:30
explicit InstanceProxyModel(QObject *parent = 0);
QVariant data(const QModelIndex & index, int role) const override;
protected:
2018-07-15 18:21:05 +05:30
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const override;
};