45 #include <QTableWidget>
79 bool ignore_update =
false;
97 QCheckBox* hide_no_identification_ =
nullptr;
98 QCheckBox* create_rows_for_commmon_metavalue_ =
nullptr;
101 bool is_ms1_shown_ =
false;
all tabs need to implement this interface
Definition: DataSelectionTabs.h:57
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Class that stores the data for one layer.
Definition: LayerData.h:96
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Management and storage of parameters / INI files.
Definition: Param.h:70
Tabular visualization / selection of identified spectra.
Definition: SpectraIDViewTab.h:59
void requestVisibleArea1D(double lower_mz, double upper_mz)
request to zoom into a 1D spec
void currentCellChanged_(int row, int column, int old_row, int old_column)
Cell clicked in table_widget; emits which spectrum (row) was clicked, and may show additional data.
void fillRow_(const MSSpectrum &spectrum, const int spec_index, const QColor background_color)
partially fill the bottom-most row
void updateEntries_()
Rebuild table entries.
bool hasData(const LayerData *layer) override
LayerData * getLayer()
get layer data
void saveIDs_()
Saves the (potentially filtered) IDs as an idXML or mzIdentML file.
void spectrumSelected(int spectrum_index, int pep_id_index, int pep_hit_index)
request to show a specific spectrum, and (if available) a specific pepId + pepHit in there (otherwise...
void spectrumDeselected(int spectrum_index)
request to unshow a spectrum
~SpectraIDViewTab() override=default
Destructor.
void updateEntries(LayerData *model) override
set layer data and create table anew; if given a nullptr, behaves as clear()
void updatedSingleCell_(QTableWidgetItem *item)
update PeptideIdentification / PeptideHits, when data in the table changes (status of checkboxes)
void clear() override
clears all visible data from table widget and voids the layer
SpectraIDViewTab(const Param &preferences, QWidget *parent=nullptr)
Constructor.
A better QTable for TOPPView, which supports exporting to TSV and conveniently adding data to cells a...
Definition: TableView.h:48
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47