#include <obolistproxymodel.h>
|
bool | lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const override |
|
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
|
- Todo
- write docs
Definition at line 42 of file obolistproxymodel.h.
◆ OboListProxyModel()
OboListProxyModel::OboListProxyModel |
( |
OboListModel * | source_model, |
|
|
QObject * | parent = nullptr ) |
Default constructor
Definition at line 37 of file obolistproxymodel.cpp.
39 : QSortFilterProxyModel(parent)
40{
41 setFilterRole(Qt::DisplayRole);
43}
OboListModel * mp_sourceModel
References mp_sourceModel.
◆ ~OboListProxyModel()
OboListProxyModel::~OboListProxyModel |
( |
| ) |
|
◆ filterAcceptsRow()
bool pappso::OboListProxyModel::filterAcceptsRow |
( |
int | source_row, |
|
|
const QModelIndex & | source_parent ) const |
|
overrideprotected |
◆ filterMzPrecision()
void pappso::OboListProxyModel::filterMzPrecision |
( |
double | target_mz, |
|
|
pappso::PrecisionPtr | precision ) |
◆ lessThan()
bool pappso::OboListProxyModel::lessThan |
( |
const QModelIndex & | source_left, |
|
|
const QModelIndex & | source_right ) const |
|
overrideprotected |
◆ m_mzTarget
double pappso::OboListProxyModel::m_mzTarget = 0 |
|
private |
◆ m_precisionPtr
PrecisionPtr pappso::OboListProxyModel::m_precisionPtr = nullptr |
|
private |
◆ mp_sourceModel
The documentation for this class was generated from the following files: