39#include <QAbstractProxyModel>
40#include <QSortFilterProxyModel>
62 QModelIndex
mapFromSource(
const QModelIndex& sourceIndex)
const override;
65 QModelIndex
mapToSource(
const QModelIndex& proxyIndex)
const override;
70 QModelIndex
index(
int row,
int column,
const QModelIndex&
parent = QModelIndex())
const override;
71 QModelIndex
parent(
const QModelIndex& child)
const override;
72 QVariant
data(
const QModelIndex&
index,
int role)
const override;
75 bool setData(
const QModelIndex&
index,
const QVariant& value,
int role)
override;
76 void setEnabled(
const QItemSelection& selection,
bool value);
78 Qt::ItemFlags
flags(
const QModelIndex&
index)
const override;
79 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const override;
89 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const override;
90 void sort(
int column, Qt::SortOrder order)
override;
92 void setEnabled(
const QItemSelection& selection,
bool value);
95 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent)
const override;
96 bool lessThan(
const QModelIndex& src_left,
const QModelIndex& src_right)
const override;
103 QVector<int> sort_columns_;
104 QVector<int> sort_orders_;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override
DisabledReason reason(int row) const
bool setData(const QModelIndex &index, const QVariant &value, int role) override
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const override
QModelIndex mapToSource(const QModelIndex &proxyIndex) const override
Qt::ItemFlags flags(const QModelIndex &index) const override
int columnCount(const QModelIndex &parent) const override
int rowCount(const QModelIndex &parent) const override
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
~CollisionLinearModel() override
void setEnabled(const QItemSelection &selection, bool value)
QVariant data(const QModelIndex &index, int role) const override
QModelIndex parent(const QModelIndex &child) const override
bool lessThan(const QModelIndex &src_left, const QModelIndex &src_right) const override
void setEnabled(const QItemSelection &selection, bool value)
void sort(int column, Qt::SortOrder order) override
void setShowAll(bool show_all)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override
QVariant headerData(int section, Qt::Orientation orientation, int role) const override
DisabledReason
Reasons for disabling link pairs. Append "in collision" for understanding. NOT_DISABLED means the lin...