7#ifndef _CSUMMARYPEAKSTABLEPROXYMODEL_H
8#define _CSUMMARYPEAKSTABLEPROXYMODEL_H
12#include <QSortFilterProxyModel>
29 bool generateisotopepattern;
30 QComboBox* filteroperator;
31 QComboBox* filtercombobox1;
32 QComboBox* filtercomparatorcombobox1;
33 QLineEdit* filterline1;
34 QComboBox* filtercombobox2;
35 QComboBox* filtercomparatorcombobox2;
36 QLineEdit* filterline2;
86 void initialize(
eModeType mode,
ePeakListFileFormat peaklistfileformat,
bool generateisotopepattern, QComboBox* rowsfilteroperator, QComboBox* rowsfiltercombobox1, QComboBox* rowsfiltercomparatorcombobox1, QLineEdit* rowsfilterline1, QComboBox* rowsfiltercombobox2, QComboBox* rowsfiltercomparatorcombobox2, QLineEdit* rowsfilterline2);
115 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent)
const Q_DECL_OVERRIDE;
124 bool lessThan(
const QModelIndex &left,
const QModelIndex &right)
const Q_DECL_OVERRIDE;
Definitions of program parameters.
ePeakListFileFormat
Peak list file formats supported by the application.
Definition: cParameters.h:30
A table proxy model.
Definition: cSummaryPeaksTableProxyModel.h:21
int ymax
The maximum Y coordinate.
Definition: cSummaryPeaksTableProxyModel.h:63
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const Q_DECL_OVERRIDE
Reimplementation of filterAcceptsRow.
Definition: cSummaryPeaksTableProxyModel.cpp:40
void setWholeWord(bool wholeword)
Set whole word option.
Definition: cSummaryPeaksTableProxyModel.cpp:35
int xmax
The maximum X coordinate.
Definition: cSummaryPeaksTableProxyModel.h:51
bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE
Reimplementation of lessThan.
Definition: cSummaryPeaksTableProxyModel.cpp:116
void setRegion(int xmin, int xmax, int ymin, int ymax)
Set the region for filtering.
Definition: cSummaryPeaksTableProxyModel.cpp:27
int xmin
The minimum X coordinate.
Definition: cSummaryPeaksTableProxyModel.h:45
cSummaryPeaksTableProxyModel(QObject *parent=0)
The constructor.
Definition: cSummaryPeaksTableProxyModel.cpp:4
void initialize(eModeType mode, ePeakListFileFormat peaklistfileformat, bool generateisotopepattern, QComboBox *rowsfilteroperator, QComboBox *rowsfiltercombobox1, QComboBox *rowsfiltercomparatorcombobox1, QLineEdit *rowsfilterline1, QComboBox *rowsfiltercombobox2, QComboBox *rowsfiltercomparatorcombobox2, QLineEdit *rowsfilterline2)
Initialize the model.
Definition: cSummaryPeaksTableProxyModel.cpp:13
int ymin
The minimum Y coordinate.
Definition: cSummaryPeaksTableProxyModel.h:57
eModeType
Running modes of the application.
Definition: utilities.h:92