7#ifndef _CSUMMARYPEAKSTABLEWIDGET_H
8#define _CSUMMARYPEAKSTABLEWIDGET_H
12#include <QDesktopServices>
19#include <QStandardItemModel>
20#include <QStandardItem>
21#include <QItemDelegate>
24#include <QStringListModel>
334 void filterCompound(
string name,
string iontype,
int datatypeview,
string mzstr);
353 QToolBar* toolbarFile;
354 QAction* actionExportCSV;
355 QAction* actionExportDatabase;
356 QAction* actionExportStatistics;
357 QAction* actionCloseWindow;
362 QToolBar* toolbarHelp;
363 QAction* actionHTMLDocumentation;
365 QToolBar* toolbarFilter;
366 QWidget* rowsfilterwidget;
367 QHBoxLayout* rowsfilterhbox;
369 QComboBox* rowsfilteroperator;
371 QComboBox* rowsfiltercombobox1;
372 QComboBox* rowsfiltercomparatorcombobox1;
373 QStringListModel* rowsfilterstringlistmodel1;
374 QCompleter* rowsfilterlinecompleter1;
375 QLineEdit* rowsfilterline1;
376 QPushButton* rowsfilterleft1;
377 QPushButton* rowsfilterright1;
379 QComboBox* rowsfiltercombobox2;
380 QComboBox* rowsfiltercomparatorcombobox2;
381 QStringListModel* rowsfilterstringlistmodel2;
382 QCompleter* rowsfilterlinecompleter2;
383 QLineEdit* rowsfilterline2;
384 QPushButton* rowsfilterleft2;
385 QPushButton* rowsfilterright2;
387 QCheckBox* rowsfiltercasesensitive;
388 QCheckBox* rowsfilterwholeword;
389 QPushButton* rowsfilterbutton;
390 QPushButton* rowsfilterclearbutton;
392 QTableView* database;
393 QStandardItemModel* databasemodel;
395 QVBoxLayout* mainlayout;
398 QString lastdirexporttocsv;
399 QString lastdirexportdatabase;
400 QString lastdirexportstatisticstocsv;
402 vector<double> rtimes;
404 vector<cCoordinateInfo> origcoordinateinfo;
409 void addCoordinateInfo(
int spectrumindex, vector<cCoordinateInfo>& coordinateinfo,
cTheoreticalSpectrum& theoreticalspectrum,
cPeaksList& experimentalspectrum);
436 void exportToDatabase();
439 void exportStatistics();
442 void showHTMLDocumentation();
445 void rowDoubleClicked(
const QModelIndex& item);
448 void rowsFilterLeft1Slot();
451 void rowsFilterRight1Slot();
454 void rowsFilterLeft2Slot();
457 void rowsFilterRight2Slot();
460 void searchPubChem();
499 void sendFilterOptionsToImageWindow(vector<cCoordinateInfo> coordinateinfo,
bool operatortype,
string columnname1,
string comparatorname1,
string filterstring1,
string columnname2,
string comparatorname2,
string filterstring2,
bool casesensitive,
bool wholeword);
The representation of a set of peptide sequence candidates.
A delegate to display rich text.
The class storing global preferences.
Definition: cGlobalPreferences.h:104
A table proxy model.
Definition: cMainWindowProxyModel.h:21
The class storing parameters of the application.
Definition: cParameters.h:82
The class representing a peak list.
Definition: cPeaksList.h:68
A table proxy model.
Definition: cSummaryPeaksTableProxyModel.h:21
The class representing a theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106
The class representing lists of theoretical spectra.
Definition: cTheoreticalSpectrumList.h:25
Comparison object for cSummaryTableKeyMS (whole envelope).
Definition: cSummaryPeaksTableWidget.h:204
bool operator()(const cSummaryTableKeyMS &left, const cSummaryTableKeyMS &right) const
Operator to define the order of two items.
Definition: cSummaryPeaksTableWidget.h:212
Comparison object for cSummaryTableKeyMS (independent ions).
Definition: cSummaryPeaksTableWidget.h:186
bool operator()(const cSummaryTableKeyMS &left, const cSummaryTableKeyMS &right) const
Operator to define the order of two items.
Definition: cSummaryPeaksTableWidget.h:194
Key to reduce the summary table when exporting statistics for MS and MSI data.
Definition: cSummaryPeaksTableWidget.h:53
string summaryformula
Summary formula subkey.
Definition: cSummaryPeaksTableWidget.h:76
string reference
Reference subkey.
Definition: cSummaryPeaksTableWidget.h:88
void clear()
Clear the structure.
Definition: cSummaryPeaksTableWidget.h:106
string theoreticalmz
Theoretical m/z subkey.
Definition: cSummaryPeaksTableWidget.h:70
string name
Compound name subkey.
Definition: cSummaryPeaksTableWidget.h:82
string iontype
Ion type subkey.
Definition: cSummaryPeaksTableWidget.h:64
string id
Identification ID subkey.
Definition: cSummaryPeaksTableWidget.h:58
string score
Score subkey.
Definition: cSummaryPeaksTableWidget.h:94
string fdr
FDR subkey.
Definition: cSummaryPeaksTableWidget.h:100
Comparison object for cSummaryTableKeyMSMS.
Definition: cSummaryPeaksTableWidget.h:222
bool operator()(const cSummaryTableKeyMSMS &left, const cSummaryTableKeyMSMS &right) const
Operator to define the order of two items.
Definition: cSummaryPeaksTableWidget.h:230
Key to reduce the summary table when exporting statistics for MS/MS data.
Definition: cSummaryPeaksTableWidget.h:123
void clear()
Clear the structure.
Definition: cSummaryPeaksTableWidget.h:170
string relint
Relative intensity subkey.
Definition: cSummaryPeaksTableWidget.h:146
string absint
Absolute intensity subkey.
Definition: cSummaryPeaksTableWidget.h:152
string theoreticalmz
Theoretical m/z subkey.
Definition: cSummaryPeaksTableWidget.h:128
string summary
summary formula subkey.
Definition: cSummaryPeaksTableWidget.h:164
string ppmerror
ppm error subkey.
Definition: cSummaryPeaksTableWidget.h:158
string experimentalmz
Experimental m/z subkey.
Definition: cSummaryPeaksTableWidget.h:140
string thint
Theoretical intensity subkey.
Definition: cSummaryPeaksTableWidget.h:134
Auxiliary funtions and structures.