20#ifndef LIBREPCB_EDITOR_SORTFILTERPROXYMODEL_H
21#define LIBREPCB_EDITOR_SORTFILTERPROXYMODEL_H
65 QVariant
headerData(
int section, Qt::Orientation orientation,
66 int role = Qt::DisplayRole)
const override;
72 virtual bool lessThan(
const QModelIndex& source_left,
73 const QModelIndex& source_right)
const override;
A QSortFilterProxyModel subclass to implement custom sort behavior.
Definition sortfilterproxymodel.h:46
bool mKeepHeaderColumnUnsorted
Definition sortfilterproxymodel.h:77
void setKeepLastRowAtBottom(bool keep) noexcept
Definition sortfilterproxymodel.h:60
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Definition sortfilterproxymodel.cpp:54
bool mKeepLastRowAtBottom
Definition sortfilterproxymodel.h:78
SortFilterProxyModel()=delete
virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const override
Definition sortfilterproxymodel.cpp:68
QCollator mCollator
Definition sortfilterproxymodel.h:76
void setKeepHeaderColumnUnsorted(bool keep) noexcept
Definition sortfilterproxymodel.h:57
SortFilterProxyModel & operator=(const SortFilterProxyModel &rhs) noexcept
SortFilterProxyModel(const SortFilterProxyModel &other)=delete
Definition occmodel.cpp:76