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;
virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const override
Definition: sortfilterproxymodel.cpp:68
void setKeepLastRowAtBottom(bool keep) noexcept
Definition: sortfilterproxymodel.h:60
Definition: occmodel.cpp:77
bool mKeepHeaderColumnUnsorted
Definition: sortfilterproxymodel.h:77
virtual ~SortFilterProxyModel() noexcept
Definition: sortfilterproxymodel.cpp:47
A QSortFilterProxyModel subclass to implement custom sort behavior.
Definition: sortfilterproxymodel.h:46
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Definition: sortfilterproxymodel.cpp:54
SortFilterProxyModel()=delete
SortFilterProxyModel & operator=(const SortFilterProxyModel &rhs) noexcept
void setKeepHeaderColumnUnsorted(bool keep) noexcept
Definition: sortfilterproxymodel.h:57
QCollator mCollator
Definition: sortfilterproxymodel.h:76
bool mKeepLastRowAtBottom
Definition: sortfilterproxymodel.h:78