You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
352 B
C++
22 lines
352 B
C++
#ifndef SHINY_EDITOR_PROPERTYSORTMODEL_H
|
|
#define SHINY_EDITOR_PROPERTYSORTMODEL_H
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
namespace sh
|
|
{
|
|
|
|
class PropertySortModel : public QSortFilterProxyModel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PropertySortModel(QObject* parent);
|
|
protected:
|
|
bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|