37 #ifndef MOVEIT_ROS_MOVEIT_SETUP_ASSISTANT_WIDGETS_COLLISION_LINEAR_MODEL_H 38 #define MOVEIT_ROS_MOVEIT_SETUP_ASSISTANT_WIDGETS_COLLISION_LINEAR_MODEL_H 40 #include <QAbstractProxyModel> 41 #include <QSortFilterProxyModel> 59 QModelIndex
mapFromSource(
const QModelIndex& sourceIndex)
const;
62 QModelIndex
mapToSource(
const QModelIndex& proxyIndex)
const;
67 QModelIndex
index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const;
68 QModelIndex
parent(
const QModelIndex& child)
const;
69 QVariant
data(
const QModelIndex& index,
int role)
const;
72 bool setData(
const QModelIndex& index,
const QVariant&
value,
int role);
73 void setEnabled(
const QItemSelection& selection,
bool value);
75 Qt::ItemFlags
flags(
const QModelIndex& index)
const;
76 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
86 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
87 void sort(
int column, Qt::SortOrder order);
88 void setShowAll(
bool show_all);
92 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent)
const;
93 bool lessThan(
const QModelIndex& src_left,
const QModelIndex& src_right)
const;
104 #endif // MOVEIT_ROS_MOVEIT_SETUP_ASSISTANT_WIDGETS_COLLISION_LINEAR_MODEL_H
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex mapToSource(const QModelIndex &proxyIndex) const
CollisionLinearModel(CollisionMatrixModel *src, QObject *parent=NULL)
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const
QVector< int > sort_orders_
moveit_setup_assistant::DisabledReason reason(int row) const
void setEnabled(const QItemSelection &selection, bool value)
QModelIndex parent(const QModelIndex &child) const
int columnCount(const QModelIndex &parent) const
QVector< int > sort_columns_
QVariant data(const QModelIndex &index, int role) const
DisabledReason
Reasons for disabling link pairs. Append "in collision" for understanding. NOT_DISABLED means the lin...
int rowCount(const QModelIndex &parent) const
bool setData(const QModelIndex &index, const QVariant &value, int role)
QVariant headerData(int section, Qt::Orientation orientation, int role) const
Qt::ItemFlags flags(const QModelIndex &index) const