A table proxy model.
More...
#include <cSpectrumDetailProxyModel.h>
|
| cSpectrumDetailProxyModel (QObject *parent=0) |
| The constructor. More...
|
|
void | setFlags (bool hidematched, bool hideunmatched, bool hidescrambled, bool hideionseries, bool hideneutralloss, bool hiderotations, bool hidetrotations) |
| Set the flags for filtering. More...
|
|
|
bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const Q_DECL_OVERRIDE |
| Reimplementation of filterAcceptsRow. More...
|
|
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE |
| Reimplementation of lessThan. More...
|
|
◆ cSpectrumDetailProxyModel()
cSpectrumDetailProxyModel::cSpectrumDetailProxyModel |
( |
QObject * |
parent = 0 | ) |
|
The constructor.
- Parameters
-
parent | pointer to a parent widget |
◆ filterAcceptsRow()
bool cSpectrumDetailProxyModel::filterAcceptsRow |
( |
int |
sourceRow, |
|
|
const QModelIndex & |
sourceParent |
|
) |
| const |
|
protected |
Reimplementation of filterAcceptsRow.
- Parameters
-
sourceRow | int |
sourceParent | QModelIndex |
- Return values
-
◆ lessThan()
bool cSpectrumDetailProxyModel::lessThan |
( |
const QModelIndex & |
left, |
|
|
const QModelIndex & |
right |
|
) |
| const |
|
protected |
Reimplementation of lessThan.
- Parameters
-
left | QModelIndex |
right | QModelIndex |
- Return values
-
◆ setFlags()
void cSpectrumDetailProxyModel::setFlags |
( |
bool |
hidematched, |
|
|
bool |
hideunmatched, |
|
|
bool |
hidescrambled, |
|
|
bool |
hideionseries, |
|
|
bool |
hideneutralloss, |
|
|
bool |
hiderotations, |
|
|
bool |
hidetrotations |
|
) |
| |
Set the flags for filtering.
- Parameters
-
hidematched | hide matched peaks |
hideunmatched | hide unmatched peaks |
hidescrambled | hide scrambled peaks |
hideionseries | hide ion series |
hideneutralloss | hide neutral losses |
hiderotations | hide rotations of a cyclic peptide or branch-cyclic peptide or cyclic polyketide |
hidetrotations | hide trotations of a branched or branch-cyclic peptide |
The documentation for this class was generated from the following files: