Initial commit. Basics work. Next: Drag and Drop

This commit is contained in:
Jan Dalheimer
2013-12-24 11:47:30 +01:00
commit ccbf341dc8
7 changed files with 803 additions and 0 deletions

18
CategorizedProxyModel.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef CATEGORIZEDPROXYMODEL_H
#define CATEGORIZEDPROXYMODEL_H
#include <QSortFilterProxyModel>
class CategorizedProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
CategorizedProxyModel(QObject *parent = 0);
protected:
bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
};
#endif // CATEGORIZEDPROXYMODEL_H