Summary table of matched peaks.
More...
#include <cSummaryPeaksTableWidget.h>
|
void | tableCancelled () |
| The table was not generated because the process was cancelled.
|
|
void | summaryPeaksTableRowDoubleClicked (int rowid, double experimentalmz) |
| A row was double clicked. More...
|
|
void | resetRegion () |
| Reset the region in image window.
|
|
void | sendFilterOptionsToImageWindow (vector< cCoordinateInfo > coordinateinfo, bool operatortype, string columnname1, string comparatorname1, string filterstring1, string columnname2, string comparatorname2, string filterstring2, bool casesensitive, bool wholeword) |
| Send the vector of aggregated informations about coordinates to image window. More...
|
|
void | sendFilterOptionsToChromatogram (cPeaksList eic) |
| Send the EIC chromatogram to chromatogram window. More...
|
|
|
| cSummaryPeaksTableWidget (cGlobalPreferences *globalpreferences, QWidget *parent=(QWidget *) 0) |
| The constructor. More...
|
|
| ~cSummaryPeaksTableWidget () |
| The destructor.
|
|
void | closeEvent (QCloseEvent *event) |
| Handle the window close event. More...
|
|
bool | prepareToShow (QStandardItemModel *resultsstandardmodel, cMainWindowProxyModel *resultsproxymodel, cParameters *parameters, cTheoreticalSpectrumList *listoftheoreticalspectra, int activefileid, bool showisomers) |
| Prepare the widget to show. More...
|
|
void | deleteTable () |
| Delete the table content.
|
|
void | updateFilterBySelectedRegion (int xmin, int xmax, int ymin, int ymax) |
| Update the filter using an image region. More...
|
|
void | applyGlobalPreferences (cGlobalPreferences *globalpreferences) |
| Apply new global preferences. More...
|
|
cPubChemSearchWidget * | getPubChemSearchWidget () |
| Get the reference to cPubChemSearchWidget. More...
|
|
void | filterTablerows () |
| Filter table rows.
|
|
void | filterCompound (string name, string iontype, int datatypeview, string mzstr) |
| Filter a specific compound. More...
|
|
Summary table of matched peaks.
◆ cSummaryPeaksTableWidget()
cSummaryPeaksTableWidget::cSummaryPeaksTableWidget |
( |
cGlobalPreferences * |
globalpreferences, |
|
|
QWidget * |
parent = (QWidget *)0 |
|
) |
| |
The constructor.
- Parameters
-
globalpreferences | global preferences of the application |
parent | pointer to a parent widget |
◆ applyGlobalPreferences()
void cSummaryPeaksTableWidget::applyGlobalPreferences |
( |
cGlobalPreferences * |
globalpreferences | ) |
|
Apply new global preferences.
- Parameters
-
globalpreferences | global preferences of the application |
◆ closeEvent()
void cSummaryPeaksTableWidget::closeEvent |
( |
QCloseEvent * |
event | ) |
|
Handle the window close event.
- Parameters
-
event | pointer to QCloseEvent |
◆ filterCompound()
void cSummaryPeaksTableWidget::filterCompound |
( |
string |
name, |
|
|
string |
iontype, |
|
|
int |
datatypeview, |
|
|
string |
mzstr |
|
) |
| |
Filter a specific compound.
- Parameters
-
name | compound name |
iontype | ion type |
datatypeview | type of data shown |
mzstr | theoretical m/z value converted to a string |
◆ getPubChemSearchWidget()
◆ keyPressEvent()
void cSummaryPeaksTableWidget::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handle a key press event.
- Parameters
-
event | pointer to QKeyEvent |
◆ prepareToShow()
Prepare the widget to show.
- Parameters
-
resultsstandardmodel | standard model of the tableview in the main application window |
resultsproxymodel | proxy model of the tableview in the main application window |
parameters | parameters of the application |
listoftheoreticalspectra | lists of theoretical spectra |
activefileid | id of the active file |
showisomers | true if isomers of blocks are reported; false otherwise |
- Return values
-
bool | true if the table was successfully prepared, false otherwise |
◆ sendFilterOptionsToChromatogram
void cSummaryPeaksTableWidget::sendFilterOptionsToChromatogram |
( |
cPeaksList |
eic | ) |
|
|
signal |
Send the EIC chromatogram to chromatogram window.
- Parameters
-
◆ sendFilterOptionsToImageWindow
void cSummaryPeaksTableWidget::sendFilterOptionsToImageWindow |
( |
vector< cCoordinateInfo > |
coordinateinfo, |
|
|
bool |
operatortype, |
|
|
string |
columnname1, |
|
|
string |
comparatorname1, |
|
|
string |
filterstring1, |
|
|
string |
columnname2, |
|
|
string |
comparatorname2, |
|
|
string |
filterstring2, |
|
|
bool |
casesensitive, |
|
|
bool |
wholeword |
|
) |
| |
|
signal |
Send the vector of aggregated informations about coordinates to image window.
- Parameters
-
coordinateinfo | a vector of aggregated informations about coordinates |
operatortype | the type of operator (0 = or; 1 = and) |
columnname1 | name of column which was compared |
comparatorname1 | name of used comparator |
filterstring1 | a string used to filter the points |
columnname2 | name of column which was compared |
comparatorname2 | name of used comparator |
filterstring2 | a string used to filter the points |
casesensitive | true if the string was used as a casesensitive, false otherwise |
wholeword | true if whole words only are compared, false otherwise |
◆ summaryPeaksTableRowDoubleClicked
void cSummaryPeaksTableWidget::summaryPeaksTableRowDoubleClicked |
( |
int |
rowid, |
|
|
double |
experimentalmz |
|
) |
| |
|
signal |
A row was double clicked.
- Parameters
-
rowid | id of a row in the main window |
experimentalmz | experimental mz of a peak |
◆ updateFilterBySelectedRegion()
void cSummaryPeaksTableWidget::updateFilterBySelectedRegion |
( |
int |
xmin, |
|
|
int |
xmax, |
|
|
int |
ymin, |
|
|
int |
ymax |
|
) |
| |
Update the filter using an image region.
- Parameters
-
xmin | minimum x coordinate |
xmax | maximum x coordinate |
ymin | minimum y coordinate |
ymax | maximum y coordinate |
The documentation for this class was generated from the following files: